diff --git a/server-fn.c b/server-fn.c index c2bb00f1..b9b7460f 100644 --- a/server-fn.c +++ b/server-fn.c @@ -1,4 +1,4 @@ -/* $Id: server-fn.c,v 1.56 2009-03-04 17:24:07 nicm Exp $ */ +/* $Id: server-fn.c,v 1.57 2009-03-07 09:42:13 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -30,8 +30,8 @@ const char ** server_fill_environ(struct session *s) { static const char *env[] = { NULL /* TMUX= */, "TERM=screen", NULL }; - static char *tmuxvar[MAXPATHLEN + 256]; - u_int idx; + static char tmuxvar[MAXPATHLEN + 256]; + u_int idx; if (session_index(s, &idx) != 0) fatalx("session not found");