Loading lib/ftp.c +5 −5 Original line number Diff line number Diff line Loading @@ -264,11 +264,11 @@ int Curl_GetFTPResponse(int sockfd, /* This is the end of the last line, copy the last * line to the start of the buffer and zero terminate, * for old times sake (and krb4)! */ char *moo; char *meow; int i; for(moo=line_start, i=0; moo<ptr; moo++, i++) buf[i] = *moo; moo[i]=0; /* zero terminate */ for(meow=line_start, i=0; meow<ptr; meow++, i++) buf[i] = *meow; meow[i]=0; /* zero terminate */ keepon=FALSE; break; } Loading Loading
lib/ftp.c +5 −5 Original line number Diff line number Diff line Loading @@ -264,11 +264,11 @@ int Curl_GetFTPResponse(int sockfd, /* This is the end of the last line, copy the last * line to the start of the buffer and zero terminate, * for old times sake (and krb4)! */ char *moo; char *meow; int i; for(moo=line_start, i=0; moo<ptr; moo++, i++) buf[i] = *moo; moo[i]=0; /* zero terminate */ for(meow=line_start, i=0; meow<ptr; meow++, i++) buf[i] = *meow; meow[i]=0; /* zero terminate */ keepon=FALSE; break; } Loading