Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
deaf209
)
afb-hsrv: Lower the "no handler" message
95/17195/1
author
José Bollo
<jose.bollo@iot.bzh>
Fri, 12 Oct 2018 16:41:16 +0000
(18:41 +0200)
committer
José Bollo
<jose.bollo@iot.bzh>
Fri, 12 Oct 2018 16:41:16 +0000
(18:41 +0200)
Bored to see WARNING: Unhandled request to favicon.ico
Change-Id: I7289b508f93bcd5ac4650ec32670ed0fd291044e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-hsrv.c
patch
|
blob
|
history
diff --git
a/src/afb-hsrv.c
b/src/afb-hsrv.c
index
7e680cc
..
1a4d1ad
100644
(file)
--- a/
src/afb-hsrv.c
+++ b/
src/afb-hsrv.c
@@
-237,7
+237,7
@@
static int access_handler(
}
/* no handler */
}
/* no handler */
-
WARNING
("Unhandled request to %s", hreq->url);
+
NOTICE
("Unhandled request to %s", hreq->url);
afb_hreq_reply_error(hreq, MHD_HTTP_NOT_FOUND);
return MHD_YES;
}
afb_hreq_reply_error(hreq, MHD_HTTP_NOT_FOUND);
return MHD_YES;
}