Diff for /libraries/liblutil/ntservice.c between versions 1.13 and 1.14

version 1.13, 2000/05/12 19:26:30 version 1.14, 2000/05/12 21:53:14
Line 43  ldap_pvt_thread_t  start_status_tid, sto Line 43  ldap_pvt_thread_t  start_status_tid, sto
   
 void (*stopfunc)(int);  void (*stopfunc)(int);
   
 /* in nt_err.c */  
 char *GetLastErrorString( void );  char *GetLastErrorString( void );
   
 int srv_install(LPCTSTR lpszServiceName, LPCTSTR lpszDisplayName,  int srv_install(LPCTSTR lpszServiceName, LPCTSTR lpszDisplayName,
Line 429  void ReportSlapdShutdownComplete(  ) Line 428  void ReportSlapdShutdownComplete(  )
         }          }
 }  }
   
   char *GetErrorString( int err )
   {
           static char msgBuf[1024];
   
           FormatMessage(
                   FORMAT_MESSAGE_FROM_SYSTEM,
                   NULL,
                   err, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
                   msgBuf, 1024, NULL );
   
           return msgBuf;
   }
   
   char *GetLastErrorString( void )
   {
           return GetErrorString( GetLastError() );
   }
 #endif  #endif

Removed from v.1.13  
changed lines
  Added in v.1.14


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