Diff for /servers/slapd/daemon.c between versions 1.272 and 1.273

version 1.272, 2003/05/20 21:52:11 version 1.273, 2003/05/24 19:12:20
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/daemon.c,v 1.271 2003/05/20 20:13:21 jongchoi Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/daemon.c,v 1.272 2003/05/20 21:52:11 jongchoi Exp $ */
 /*  /*
  * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 2053  int sockdestroy(void) Line 2053  int sockdestroy(void)
 RETSIGTYPE  RETSIGTYPE
 slap_sig_shutdown( int sig )  slap_sig_shutdown( int sig )
 {  {
   #if 0
 #ifdef NEW_LOGGING  #ifdef NEW_LOGGING
         LDAP_LOG( CONNECTION, CRIT,           LDAP_LOG( CONNECTION, CRIT, 
                 "slap_sig_shutdown: signal %d\n", sig, 0, 0 );                  "slap_sig_shutdown: signal %d\n", sig, 0, 0 );
 #else  #else
         Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: signal %d\n", sig, 0, 0);          Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: signal %d\n", sig, 0, 0);
 #endif  #endif
   #endif
   
         /*          /*
          * If the NT Service Manager is controlling the server, we don't           * If the NT Service Manager is controlling the server, we don't
Line 2068  slap_sig_shutdown( int sig ) Line 2070  slap_sig_shutdown( int sig )
   
 #if HAVE_NT_SERVICE_MANAGER && SIGBREAK  #if HAVE_NT_SERVICE_MANAGER && SIGBREAK
         if (is_NT_Service && sig == SIGBREAK)          if (is_NT_Service && sig == SIGBREAK)
   #if 0
 #ifdef NEW_LOGGING  #ifdef NEW_LOGGING
             LDAP_LOG( CONNECTION, CRIT,              LDAP_LOG( CONNECTION, CRIT,
                     "slap_sig_shutdown: SIGBREAK ignored.\n", 0, 0, 0 );                      "slap_sig_shutdown: SIGBREAK ignored.\n", 0, 0, 0 );
Line 2075  slap_sig_shutdown( int sig ) Line 2078  slap_sig_shutdown( int sig )
             Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: SIGBREAK ignored.\n",              Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: SIGBREAK ignored.\n",
                   0, 0, 0);                    0, 0, 0);
 #endif  #endif
   #endif
         else          else
 #endif  #endif
 #ifdef SIGHUP  #ifdef SIGHUP

Removed from v.1.272  
changed lines
  Added in v.1.273


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org