1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Eric fixed a wild write

This commit is contained in:
Daniel Stenberg 2001-11-22 09:40:34 +00:00
parent 8f304d8167
commit 1c8da21083

View File

@ -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;
}