7.10.4-pre2 commit

This commit is contained in:
Daniel Stenberg 2003-02-24 18:14:48 +00:00
parent a6206a3aef
commit 065b87e949
7 changed files with 48 additions and 14 deletions

View file

@ -226,6 +226,7 @@ static int get_request(int sock, int *part)
if (got <= 0) {
if (got < 0) {
perror("recv");
logmsg("recv() returned error");
return DOCNUMBER_INTERNAL;
}
logmsg("Connection closed by client");
@ -312,7 +313,7 @@ static int get_request(int sock, int *part)
logmsg("Got illegal request");
fprintf(stderr, "Got illegal request\n");
return -1;
return DOCNUMBER_404;
}