]> git.pld-linux.org Git - packages/pure-ftpd.git/blob - pure-ftpd-nonssl-die.patch
- pam_shells.so on account like sshd
[packages/pure-ftpd.git] / pure-ftpd-nonssl-die.patch
1 Index: src/ftpd.c
2 ===================================================================
3 RCS file: /cvsroot/pureftpd/pureftpd/src/ftpd.c,v
4 retrieving revision 1.599
5 retrieving revision 1.600
6 diff -u -u -r1.599 -r1.600
7 --- src/ftpd.c  21 Jun 2007 15:05:06 -0000      1.599
8 +++ src/ftpd.c  21 Jun 2007 15:07:36 -0000      1.600
9 @@ -223,11 +223,10 @@
10         snprintf(buf, sizeof buf, "%d %s\r\n", err, line);
11         SSL_write(tls_cnx, buf, strlen(buf));
12      } else
13 -#else
14 +#endif
15      {
16         printf("%d %s\r\n", err, line);
17      }
18 -#endif
19      fflush(stdout);
20      logfile(priority, "%s", line);
21      va_end(va);
This page took 0.09849 seconds and 3 git commands to generate.