]> err.no Git - varnish/commitdiff
Initialize all bits in the sigaction.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 15 Jul 2007 10:22:05 +0000 (10:22 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 15 Jul 2007 10:22:05 +0000 (10:22 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1699 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/mgt_child.c

index f6a0b7e23b9f8fcb90414fde3c8d824f9492c374..6445f7263e49a02dd850159ce25540d2392007cf 100644 (file)
@@ -410,6 +410,7 @@ mgt_run(int dflag, const char *T_arg)
 
        setproctitle("Varnish-Mgr %s", heritage.name);
 
+       memset(&sac, 0, sizeof sac);
        sac.sa_handler = SIG_IGN;
        sac.sa_flags = SA_RESTART;