]> git.pld-linux.org Git - packages/php.git/blame - php-5.2.17-bug-60183.patch
use /usr/sbin/php-fpm as other branches
[packages/php.git] / php-5.2.17-bug-60183.patch
CommitLineData
82f6b657
ER
1diff -up php-5.2.17/ext/ftp/ftp.c.bug-60183 php-5.2.17/ext/ftp/ftp.c
2--- php-5.2.17/ext/ftp/ftp.c.bug-60183 2012-01-12 12:04:18.000000000 +0700
3+++ php-5.2.17/ext/ftp/ftp.c 2012-01-12 12:04:40.000000000 +0700
4@@ -1122,6 +1122,9 @@ ftp_putcmd(ftpbuf_t *ftp, const char *cm
5
6 data = ftp->outbuf;
7
8+ /* Clear the extra-lines buffer */
9+ ftp->extra = NULL;
10+
11 if (my_send(ftp, ftp->fd, data, size) != size) {
12 return 0;
13 }
This page took 0.031086 seconds and 4 git commands to generate.