X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslurpd%2Fadmin.c;h=72c4c12d571784b6cfb9ce66f148f2803b208bf8;hb=8687dace5b3a5a8d2b44c087c8f0091ad0cbc298;hp=4c814b2b001162839cfcb5ebfcd744cc6c561a5a;hpb=3111cfa3bd3e7485b3fa7a922568a435cb61b94e;p=openldap diff --git a/servers/slurpd/admin.c b/servers/slurpd/admin.c index 4c814b2b00..72c4c12d57 100644 --- a/servers/slurpd/admin.c +++ b/servers/slurpd/admin.c @@ -1,5 +1,18 @@ -/* - * Copyright (c) 1996 Regents of the University of Michigan. +/* $OpenLDAP$ */ +/* This work is part of OpenLDAP Software . + * + * Copyright 1998-2005 The OpenLDAP Foundation. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted only as authorized by the OpenLDAP + * Public License. + * + * A copy of this license is available in file LICENSE in the + * top-level directory of the distribution or, alternatively, at + * . + */ +/* Portions Copyright (c) 1996 Regents of the University of Michigan. * All rights reserved. * * Redistribution and use in source and binary forms are permitted @@ -9,6 +22,10 @@ * software without specific prior written permission. This software * is provided ``as is'' without express or implied warranty. */ +/* ACKNOWLEDGEMENTS: + * This work was originally developed by the University of Michigan + * (as part of U-MICH LDAP). + */ /* * admin.c - routines for performing administrative tasks, e.g. on-the-fly @@ -18,6 +35,7 @@ #include "portable.h" #include +#include #include @@ -39,5 +57,5 @@ RETSIGTYPE do_admin( int sig ) { sglob->rq->rq_dump( sglob->rq ); - (void) SIGNAL( LDAP_SIGUSR2, do_admin ); + (void) SIGNAL_REINSTALL( sig, do_admin ); }