]>
Commit | Line | Data |
---|---|---|
82f6b657 ER |
1 | diff -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 | } |