diff options
Diffstat (limited to 'net/ftpproxy/patches/patch-ac')
-rw-r--r-- | net/ftpproxy/patches/patch-ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/ftpproxy/patches/patch-ac b/net/ftpproxy/patches/patch-ac new file mode 100644 index 00000000000..ebdc905fc12 --- /dev/null +++ b/net/ftpproxy/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2002/05/09 16:55:53 taca Exp $ + +--- src/ftp.c.orig Tue Feb 5 02:11:21 2002 ++++ src/ftp.c +@@ -848,8 +848,8 @@ + { + char varname[200]; + +- snprintf (varname, sizeof(varname) - 2, "%s%s", x->config->varname, var); +- setenv(varname, value != NULL? value: "", 1); ++ snprintf (varname, sizeof(varname) - 2, "%s%s=%s", x->config->varname, ++ var, (value != NULL)? value: ""); + + return (0); + } |