Merged silc_1_1_branch to trunk.
[silc.git] / apps / silcd / server_http.c
index 663057ec3550450e427cb8b9b3cc377650658fbf..720cc822203bfd555175383a7676122a96c09a42 100644 (file)
@@ -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,