mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	char not char *...
This commit is contained in:
		@@ -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");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user