summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-19 21:58:17 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-19 21:58:17 +0000
commit97e8b94ef82e44de12bac81c2716697378b918b3 (patch)
treefc0f9a58a21421a4c7f1f944b969cf3a28c87c77 /tmux.c
parent92a42a9e7d1ac13d8e95597f633c18f1eacacde2 (diff)
cctx should be 0.
Diffstat (limited to 'tmux.c')
-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);