X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslurpd%2Fadmin.c;h=d3017932e12c19b190bba068ed031082b4ca3cc9;hb=fad62c5d1dea6fa56e740dd81ce025eaaaab1917;hp=af28544d18451144c85cced4163bdcca26f2aa00;hpb=5b62482fac5183d5a137f7e99b23012df16d4793;p=openldap diff --git a/servers/slurpd/admin.c b/servers/slurpd/admin.c index af28544d18..d3017932e1 100644 --- a/servers/slurpd/admin.c +++ b/servers/slurpd/admin.c @@ -1,3 +1,4 @@ +/* $OpenLDAP$ */ /* * Copyright (c) 1996 Regents of the University of Michigan. * All rights reserved. @@ -35,9 +36,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( sig, do_admin ); }