char not char *...

This commit is contained in:
Nicholas Marriott 2009-03-07 09:42:13 +00:00
parent 56f80a5b09
commit 3f09bf99b8
1 changed files with 3 additions and 3 deletions

View File

@ -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 <nicm@users.sourceforge.net>
@ -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");