summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index 25c269f3..17e0e30e 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.33 2007-10-19 10:21:35 nicm Exp $ */
+/* $Id: tmux.c,v 1.34 2007-10-19 21:58:17 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -214,6 +214,7 @@ main(int argc, char **argv)
exit(1);
}
+ memset(&cctx, 0, sizeof cctx);
if (!(cmd->entry->flags & CMD_NOSESSION) ||
(cmd->entry->flags & CMD_CANTNEST))
client_fill_sessid(&data.sid, name);