Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a1f9ee8
)
VPP-1649: Coverity warning in http server
74/18974/2
author
Dave Barach
<dave@barachs.net>
Wed, 17 Apr 2019 14:10:02 +0000
(10:10 -0400)
committer
Dave Wallace
<dwallacelf@gmail.com>
Wed, 17 Apr 2019 17:14:48 +0000
(17:14 +0000)
Remove duplicate error check
Change-Id: I64463c7f606e198fe8553efea294f0e09bd8dbc3
Signed-off-by: Dave Barach <dave@barachs.net>
src/plugins/http_static/http_static_test.c
patch
|
blob
|
history
diff --git
a/src/plugins/http_static/http_static_test.c
b/src/plugins/http_static/http_static_test.c
index
0a24ce5
..
59cc5f1
100644
(file)
--- a/
src/plugins/http_static/http_static_test.c
+++ b/
src/plugins/http_static/http_static_test.c
@@
-148,12
+148,6
@@
api_http_static_enable (vat_main_t * vam)
return -99;
}
- if (www_root == 0)
- {
- errmsg ("Must specify www-root");
- return -99;
- }
-
if (uri == 0)
uri = format (0, "tcp://0.0.0.0/80%c", 0);