]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/main.c
If dn2id returns ID but id2entry returns NULL, log it.
[openldap] / servers / slapd / main.c
index d74326619e345c33f2a9406b557bb0fd9a3c95a0..4d7885a62b68e73e23cb66d4fa943467c20ef160 100644 (file)
@@ -49,12 +49,6 @@ static int   cnvt_str2int();
 
 #endif  /* LOG_LOCAL4 */
 
-/*
- * the server's name must be accessible from the daemon module,
- * to construct the pid/args file names
- */
-char  *serverName = NULL;
-
 
 static void
 usage( char *name )
@@ -79,6 +73,7 @@ main( int argc, char **argv )
     int     syslogUser = DEFAULT_SYSLOG_USER;
 #endif
        char            *configfile;
+       char        *serverName;
 
        configfile = SLAPD_DEFAULT_CONFIGFILE;
        port = LDAP_PORT;