projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a0ce45
)
fix another escaape runon
85/3085/1
author
Andy Green
<andy.green@linaro.org>
Tue, 12 Feb 2013 04:53:36 +0000
(12:53 +0800)
committer
Kevron Rees
<kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:34 +0000
(13:01 -0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/output.c
patch
|
blob
|
history
diff --git
a/lib/output.c
b/lib/output.c
index
a0ddacf
..
35389c2
100644
(file)
--- a/
lib/output.c
+++ b/
lib/output.c
@@
-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",