* have default ip, so valgrind shuts up.
authorWilfried Göesgens <willi@citadel.org>
Wed, 4 Jul 2007 21:50:38 +0000 (21:50 +0000)
committerWilfried Göesgens <willi@citadel.org>
Wed, 4 Jul 2007 21:50:38 +0000 (21:50 +0000)
webcit/webserver.c

index 78ee06f3153c58a9c6c385b2f95630e36e8fb28c..012ec470d825411a32d4be1231e4bc6085587cc7 100644 (file)
@@ -608,7 +608,7 @@ int main(int argc, char **argv)
        pthread_attr_t attr;    /**< Thread attributes */
        int a, i;                       /**< General-purpose variables */
        char tracefile[PATH_MAX];
-       char ip_addr[256];
+       char ip_addr[256]="0.0.0.0";
        char dirbuffer[PATH_MAX]="";
        int relh=0;
        int home=0;