]> git.pld-linux.org Git - packages/pure-ftpd.git/commitdiff
correctly send messages to ftp client in die() when built with SSL support
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 21 Jun 2007 15:12:07 +0000 (15:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pure-ftpd-nonssl-die.patch -> 1.1

pure-ftpd-nonssl-die.patch [new file with mode: 0644]

diff --git a/pure-ftpd-nonssl-die.patch b/pure-ftpd-nonssl-die.patch
new file mode 100644 (file)
index 0000000..3c51476
--- /dev/null
@@ -0,0 +1,21 @@
+Index: src/ftpd.c
+===================================================================
+RCS file: /cvsroot/pureftpd/pureftpd/src/ftpd.c,v
+retrieving revision 1.599
+retrieving revision 1.600
+diff -u -u -r1.599 -r1.600
+--- src/ftpd.c 21 Jun 2007 15:05:06 -0000      1.599
++++ src/ftpd.c 21 Jun 2007 15:07:36 -0000      1.600
+@@ -223,11 +223,10 @@
+       snprintf(buf, sizeof buf, "%d %s\r\n", err, line);
+       SSL_write(tls_cnx, buf, strlen(buf));
+     } else
+-#else
++#endif
+     {
+       printf("%d %s\r\n", err, line);
+     }
+-#endif
+     fflush(stdout);
+     logfile(priority, "%s", line);
+     va_end(va);
This page took 0.088561 seconds and 4 git commands to generate.