]> git.sur5r.net Git - openldap/blobdiff - servers/slurpd/ldap_op.c
Relocate regex.h test to near top and die if it fails.
[openldap] / servers / slurpd / ldap_op.c
index d7582a68378808164cdf1df5eab521086b7879a2..9ae70dc78d147670afeb95d75367859903c04370 100644 (file)
 #include "portable.h"
 
 #include <stdio.h>
-#include <stdlib.h>
+
+#include <ac/stdlib.h>
 
 #include <ac/errno.h>
 #include <ac/string.h>
 #include <ac/ctype.h>
 #include <ac/time.h>
-#include <ac/unistd.h>         /* Get_t getpid() */
+#include <ac/unistd.h>
 
 #include <ac/krb.h>
 
@@ -198,7 +199,7 @@ op_ldap_add(
     } else {
        *errmsg = "No modifications to do";
        Debug( LDAP_DEBUG_ANY,
-               "Error: op_ldap_add: no mods to do (%s)!", re->re_dn, 0, 0 );
+              "Error: op_ldap_add: no mods to do (%s)!\n", re->re_dn, 0, 0 );
     }
     free_ldmarr( ldmarr );
     return( lderr );