]> git.sur5r.net Git - openldap/commitdiff
Error in setting sa_flags (was never set)
authorBen Collins <bcollins@openldap.org>
Wed, 13 Sep 2000 21:49:08 +0000 (21:49 +0000)
committerBen Collins <bcollins@openldap.org>
Wed, 13 Sep 2000 21:49:08 +0000 (21:49 +0000)
libraries/liblutil/signal.c

index 64084c7edadc72bb6d912dc376b68ee7cf1f7048..4c2b513fd19285642f9e41a25482a9119b6eb6dc 100644 (file)
@@ -22,7 +22,7 @@ lutil_sigaction(int sig, lutil_sig_t func)
        action.sa_handler = func;
        sigemptyset( &action.sa_mask );
 #ifdef SA_RESTART
-       action.sa_flags != SA_RESTART;
+       action.sa_flags |= SA_RESTART;
 #endif
        
        if( sigaction( sig, &action, &oaction ) != 0 ) {