]> git.sur5r.net Git - openldap/blobdiff - servers/slurpd/admin.c
Kill lber_debug
[openldap] / servers / slurpd / admin.c
index af28544d18451144c85cced4163bdcca26f2aa00..4c814b2b001162839cfcb5ebfcd744cc6c561a5a 100644 (file)
@@ -35,9 +35,9 @@
  * slurpd receives a USR2 signal, it will dump its replication 
  * queue to the disk file given by SLURPD_DUMPFILE.
  */
-void
-do_admin()
+RETSIGTYPE
+do_admin( int sig )
 {
     sglob->rq->rq_dump( sglob->rq );
-    (void) SIGNAL( SIGUSR2, (void *) do_admin );
+    (void) SIGNAL( LDAP_SIGUSR2, do_admin );
 }