projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb837ff
)
bug parsing multiline responses
author
ewt
<devnull@localhost>
Wed, 22 Jan 1997 20:25:38 +0000
(20:25 +0000)
committer
ewt
<devnull@localhost>
Wed, 22 Jan 1997 20:25:38 +0000
(20:25 +0000)
CVS patchset: 1332
CVS date: 1997/01/22 20:25:38
ftp.c
patch
|
blob
|
history
diff --git
a/ftp.c
b/ftp.c
index
7651972
..
b4dd547
100644
(file)
--- a/
ftp.c
+++ b/
ftp.c
@@
-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 */