Eric fixed a wild write

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

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