Author: arekm                        Date: Thu Jun 21 15:12:12 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
correctly send messages to ftp client in die() when built with SSL support

---- Files affected:
SOURCES:
   pure-ftpd-nonssl-die.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pure-ftpd-nonssl-die.patch
diff -u /dev/null SOURCES/pure-ftpd-nonssl-die.patch:1.1
--- /dev/null   Thu Jun 21 17:12:12 2007
+++ SOURCES/pure-ftpd-nonssl-die.patch  Thu Jun 21 17:12:07 2007
@@ -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);
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to