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:
2d313bd
)
coverity-181580: supposedly dead code
author
Andy Green
<andy@warmcat.com>
Wed, 19 Jul 2017 06:47:30 +0000
(14:47 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 19 Jul 2017 06:47:30 +0000
(14:47 +0800)
lib/server.c
patch
|
blob
|
history
diff --git
a/lib/server.c
b/lib/server.c
index
042034c
..
108321d
100644
(file)
--- a/
lib/server.c
+++ b/
lib/server.c
@@
-913,10
+913,7
@@
lws_http_action(struct lws *wsi)
if (!pa)
pa = "(unknown)";
- if (meth >= 0)
- me = method_names[meth];
- else
- me = "unknown";
+ me = method_names[meth];
lws_snprintf(wsi->access_log.header_log, l,
"%s - - [%s] \"%s %s %s\"",