From 68a5d5c00be0e0445e72c2e960588d21c4494467 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 4 Oct 2007 11:52:03 +0000 Subject: Window attachment, malloc debugging, fix a segfault with no sessions. --- client.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client.c') diff --git a/client.c b/client.c index 0c60d540..835c77fe 100644 --- a/client.c +++ b/client.c @@ -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 @@ -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); } -- cgit