X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=daemon.c;h=4c8346d5a1fe1325de2dd335a4e61a2dad994211;hb=1afca444953639fef53f3e5520202971505d77b9;hp=347fd0c52b4cd797f5dafffb6885324f7c7f0274;hpb=34df9fe36a3627e1c2a9ae244820fb61e3891b90;p=git.git diff --git a/daemon.c b/daemon.c index 347fd0c52..4c8346d5a 100644 --- a/daemon.c +++ b/daemon.c @@ -660,7 +660,7 @@ static void check_dead_children(void) static char **cld_argv; static void handle(int incoming, struct sockaddr *addr, socklen_t addrlen) { - struct child_process cld = { 0 }; + struct child_process cld = { NULL }; char addrbuf[300] = "REMOTE_ADDR=", portbuf[300]; char *env[] = { addrbuf, portbuf, NULL };