Permalink
Browse files

Fix bug 60183

  • Loading branch information...
rlerdorf committed Nov 1, 2011
1 parent 6972b94 commit 09f8573a77e498348a405054b5c28bcecbb0a26f
Showing with 6 additions and 0 deletions.
  1. +3 −0 NEWS
  2. +3 −0 ext/ftp/ftp.c
View
3 NEWS
@@ -131,6 +131,9 @@ PHP NEWS
- Fileinfo:
. Fixed bug #60094 (C++ comment fails in c89). (Laruence)
+- FTP:
+ . Fixed bug #60183 (out of sync ftp responses). (bram at ebskamp dot me, rasmus)
+
23 Aug 2011, PHP 5.3.8
View
@@ -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;
}

0 comments on commit 09f8573

Please sign in to comment.