HTTP: Set clen correctly when serving gmap.html.

This commit is contained in:
antirez 2013-01-14 20:25:11 +01:00
parent a583615b66
commit 42eb990685

View File

@ -1854,6 +1854,7 @@ void handleHTTPRequest(struct client *c) {
{
content = malloc(sbuf.st_size);
read(fd,content,sbuf.st_size);
clen = sbuf.st_size;
} else {
char buf[128];