mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-07-25 03:47:05 +00:00
Make compiler happy
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@96 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
parent
86bf937325
commit
7c50df4e93
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
CC ?= gcc
|
||||
CFLAGS += -Wall -DHAVE_GETOPT_LONG -DUSE_SSL
|
||||
#CFLAGS += -DSETPROCTITLE
|
||||
CFLAGS += -DSETPROCTITLE
|
||||
LDFLAGS += -lssl
|
||||
BINDIR = /usr/local/bin
|
||||
INSTALLPATH = $(DESTDIR)/$(BINDIR)
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ initsetproctitle(argc, argv, envp)
|
|||
if (p == NULL)
|
||||
return -1;
|
||||
environ[i] = strncpy(p, envp[i], len);
|
||||
p[len - 1] = NULL;
|
||||
p[len - 1] = (int)NULL;
|
||||
}
|
||||
environ[i] = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue