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:
parent
c3ef0d600a
commit
d579a7d89a
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue