summaryrefslogtreecommitdiff
path: root/ucspi-tcp-0.88/pathexec_env.c
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-26 10:57:13 -0700
committerJohn Denker <jsd@av8n.com>2012-07-29 15:32:37 -0700
commit9aa998757a8736cef02fd92050eacbb2a6fb5180 (patch)
tree18ae3d172893279aecaf12df94cb468bf887aa72 /ucspi-tcp-0.88/pathexec_env.c
parent6e8083ff4ffe3fd2b6d337386637a2b5c1378cf7 (diff)
patch to support IPv6 in tcpserver
Diffstat (limited to 'ucspi-tcp-0.88/pathexec_env.c')
-rw-r--r--ucspi-tcp-0.88/pathexec_env.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ucspi-tcp-0.88/pathexec_env.c b/ucspi-tcp-0.88/pathexec_env.c
index 48bba7e..157e71b 100644
--- a/ucspi-tcp-0.88/pathexec_env.c
+++ b/ucspi-tcp-0.88/pathexec_env.c
@@ -8,7 +8,7 @@
static stralloc plus;
static stralloc tmp;
-int pathexec_env(char *s,char *t)
+int pathexec_env(const char *s,const char *t)
{
if (!s) return 1;
if (!stralloc_copys(&tmp,s)) return 0;
@@ -22,7 +22,6 @@ int pathexec_env(char *s,char *t)
void pathexec(char **argv)
{
- char *path;
char **e;
unsigned int elen;
unsigned int i;