Skip to content

Commit d2881ad

Browse files
committed
Fix bug 60183
1 parent 9b0d73a commit d2881ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/ftp/ftp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,9 @@ ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const char *args)
11221122

11231123
data = ftp->outbuf;
11241124

1125+
/* Clear the extra-lines buffer */
1126+
ftp->extra = NULL;
1127+
11251128
if (my_send(ftp, ftp->fd, data, size) != size) {
11261129
return 0;
11271130
}

0 commit comments

Comments
 (0)