From 97e8b94ef82e44de12bac81c2716697378b918b3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 19 Oct 2007 21:58:17 +0000 Subject: cctx should be 0. --- tmux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmux.c') 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 @@ -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); -- cgit v1.2.3