bug parsing multiline responses

CVS patchset: 1332
CVS date: 1997/01/22 20:25:38
This commit is contained in:
ewt 1997-01-22 20:25:38 +00:00
parent fb837ffbb4
commit 3272d6857c
1 changed files with 1 additions and 1 deletions

2
ftp.c
View File

@ -90,7 +90,7 @@ static int ftpCheckResponse(int sock, char ** str) {
bufLength += bytesRead;
buf[bufLength + 1] = '\0';
buf[bufLength] = '\0';
/* divide the response into lines, checking each one to see if
we are finished or need to continue */