projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
454a532
)
Check for valid HTTPD config.
author
Pekka Riikonen
<priikone@silcnet.org>
Sun, 10 Jun 2007 16:12:47 +0000
(16:12 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sun, 10 Jun 2007 16:12:47 +0000
(16:12 +0000)
apps/silcd/server_http.c
patch
|
blob
|
history
diff --git
a/apps/silcd/server_http.c
b/apps/silcd/server_http.c
index 663057ec3550450e427cb8b9b3cc377650658fbf..720cc822203bfd555175383a7676122a96c09a42 100644
(file)
--- a/
apps/silcd/server_http.c
+++ b/
apps/silcd/server_http.c
@@
-141,6
+141,9
@@
static void silc_server_http_callback(SilcHttpServer httpd,
void silc_server_http_init(SilcServer server)
{
+ if (!server->config->httpd_ip)
+ return;
+
/* Allocate HTTP server */
server->httpd = silc_http_server_alloc(server->config->httpd_ip,
server->config->httpd_port,