]> git.sur5r.net Git - openldap/commitdiff
do_admin should reinstall handler on called signal number and
authorKurt Zeilenga <kurt@openldap.org>
Tue, 31 Aug 1999 01:41:52 +0000 (01:41 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 31 Aug 1999 01:41:52 +0000 (01:41 +0000)
not assume LDAP_SIGUSR2

servers/slurpd/admin.c

index 4c814b2b001162839cfcb5ebfcd744cc6c561a5a..6f026d109017997ebd745540c62c9f4e4df361a3 100644 (file)
@@ -39,5 +39,5 @@ RETSIGTYPE
 do_admin( int sig )
 {
     sglob->rq->rq_dump( sglob->rq );
-    (void) SIGNAL( LDAP_SIGUSR2, do_admin );
+    (void) SIGNAL( sig, do_admin );
 }