]> git.sur5r.net Git - openldap/blobdiff - servers/ldapd/error.c
Fix idl_firstid to return NOID when !(nids > 1) instead of when (nids == 1)
[openldap] / servers / ldapd / error.c
index e35448c3f17387e39497391fd6a3a9d2c8397504..a93590fc3e93772797ccfc3bf0c2dde75ab78996 100644 (file)
  * is provided ``as is'' without express or implied warranty.
  */
 
+#include "portable.h"
+
 #include <stdio.h>
+
+#include <ac/ctype.h>
+#include <ac/socket.h>
+
 #include <quipu/ds_error.h>
 #include <quipu/attrvalue.h>
 #include <quipu/name.h>
 #include <quipu/commonarg.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <ctype.h>
+
 #include "lber.h"
 #include "ldap.h"
+#include "ldap_log.h"
+#include "common.h"                    /* get ldap_dn_print() */
 
 void
 print_error( struct DSError *e )