B"H net_io.c: add missing else statement

This commit is contained in:
hhm 2014-09-15 09:08:49 -04:00
parent eb41be3884
commit 04f4abda70

View file

@ -753,6 +753,7 @@ int handleHTTPRequest(struct client *c, char *p) {
content = (char *) malloc(sbuf.st_size);
if (read(fd, content, sbuf.st_size) != -1) {
clen = sbuf.st_size;
} else {
free(content);
}
}