mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 01:18:52 +00:00
char not char *...
This commit is contained in:
parent
56f80a5b09
commit
3f09bf99b8
@ -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>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -30,8 +30,8 @@ const char **
|
|||||||
server_fill_environ(struct session *s)
|
server_fill_environ(struct session *s)
|
||||||
{
|
{
|
||||||
static const char *env[] = { NULL /* TMUX= */, "TERM=screen", NULL };
|
static const char *env[] = { NULL /* TMUX= */, "TERM=screen", NULL };
|
||||||
static char *tmuxvar[MAXPATHLEN + 256];
|
static char tmuxvar[MAXPATHLEN + 256];
|
||||||
u_int idx;
|
u_int idx;
|
||||||
|
|
||||||
if (session_index(s, &idx) != 0)
|
if (session_index(s, &idx) != 0)
|
||||||
fatalx("session not found");
|
fatalx("session not found");
|
||||||
|
Loading…
Reference in New Issue
Block a user