Window attachment, malloc debugging, fix a segfault with no sessions.

This commit is contained in:
Nicholas Marriott
2007-10-04 11:52:03 +00:00
parent ff56ed7bd6
commit 68a5d5c00b
11 changed files with 121 additions and 29 deletions

View File

@ -1,4 +1,4 @@
/* $Id: client.c,v 1.11 2007-10-03 21:31:07 nicm Exp $ */
/* $Id: client.c,v 1.12 2007-10-04 11:52:02 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -174,6 +174,10 @@ client_main(struct client_ctx *cctx)
local_done();
if (error != NULL) {
if (*error == '\0') {
printf("[exited]\n", error);
return (0);
}
printf("[error: %s]\n", error);
return (1);
}