From 3f09bf99b87425d89e1b512eb28870a2b1daa8ad Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 7 Mar 2009 09:42:13 +0000 Subject: [PATCH] char not char *... --- server-fn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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");