]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/configinfo.c
Don't use perror after ldbm_store() failure; errno is not set then.
[openldap] / servers / slapd / configinfo.c
index c1719efde8a5d300bfdee1b767756a92e5d9bfef..9ad40ebedb63a8282037afcc054f3022049157e9 100644 (file)
  * is provided ``as is'' without express or implied warranty.
  */
 
+#include "portable.h"
+
 #include <stdio.h>
-#include <string.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include "slap.h"
+
+#include <ac/string.h>
+#include <ac/socket.h>
+
 #include "ldapconfig.h"
+#include "slap.h"
 
 #if defined( SLAPD_CONFIG_DN )
 
-extern int             nbackends;
-extern Backend         *backends;
-extern char            *default_referral;
-
 /*
  * no mutex protection in here - take our chances!
  */