projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c72070
)
log err if unable to open http file
author
Andy Green
<andy.green@linaro.org>
Fri, 3 May 2013 13:13:35 +0000
(21:13 +0800)
committer
Andy Green
<andy.green@linaro.org>
Fri, 3 May 2013 13:13:35 +0000
(21:13 +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
8ff3d64
..
ef823c3
100644
(file)
--- a/
lib/output.c
+++ b/
lib/output.c
@@
-576,6
+576,7
@@
LWS_VISIBLE int libwebsockets_serve_http_file(struct libwebsocket_context *conte
);
if (wsi->u.http.fd < 1) {
+ lwsl_err("Unable to open '%s'\n", file);
p += sprintf((char *)p,
"HTTP/1.0 400 Bad\x0d\x0aServer: libwebsockets\x0d\x0a\x0d\x0a"
);