diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-11-22 09:40:34 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-11-22 09:40:34 +0000 |
commit | 1c8da21083ade5c6f29b928e408d20a2e407b206 (patch) | |
tree | 169e7c92a215381b6542b8b776d3006339f29f8c | |
parent | 8f304d8167758596b99026facffe366b35537cd0 (diff) |
Eric fixed a wild write
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -282,7 +282,7 @@ int Curl_GetFTPResponse(char *buf, int i; for(meow=line_start, i=0; meow<ptr; meow++, i++) buf[i] = *meow; - meow[i]=0; /* zero terminate */ + *meow=0; /* zero terminate */ keepon=FALSE; break; } |