diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 11:52:03 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 11:52:03 +0000 |
commit | 68a5d5c00be0e0445e72c2e960588d21c4494467 (patch) | |
tree | fa6e1bf24e1287633ff08a41d45d2c7f1e8ed24d /client.c | |
parent | ff56ed7bd66f9be56f525838c21695a8574c1a09 (diff) |
Window attachment, malloc debugging, fix a segfault with no sessions.
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); } |