diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2011-11-01 15:15:51 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2011-11-01 15:15:51 +0000 |
commit | d2881adcbc9be60de7e7d45a3316b0e11b7eb1e8 (patch) | |
tree | e52c7b4c17765ebb6cdd574e64dbcfe90ad01122 /ext | |
parent | 9b0d73af1d8a59f48336bc60513f44edd4d4c34d (diff) | |
download | php-git-d2881adcbc9be60de7e7d45a3316b0e11b7eb1e8.tar.gz |
Fix bug 60183
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ftp/ftp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 2ace44c8b7..d925c72f62 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -1122,6 +1122,9 @@ ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const char *args) data = ftp->outbuf; + /* Clear the extra-lines buffer */ + ftp->extra = NULL; + if (my_send(ftp, ftp->fd, data, size) != size) { return 0; } |