1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

fix another escaape runon

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2013-02-12 12:53:36 +08:00
parent c3ef0d600a
commit d579a7d89a

View file

@ -561,7 +561,7 @@ int libwebsockets_serve_http_file(struct libwebsocket_context *context,
fstat(wsi->u.http.fd, &stat_buf);
wsi->u.http.filelen = stat_buf.st_size;
p += sprintf((char *)p,
"HTTP/1.0 200 OK\x0d\x0aServer: libwebsockets\x0d\x0aContent-Type: %s\x0d\x0a",
"HTTP/1.0 200 OK\x0d\x0aServer: libwebsockets\x0d\x0a""Content-Type: %s\x0d\x0a",
content_type);
p += sprintf((char *)p,
"Content-Length: %u\x0d\x0a\x0d\x0a",