]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapi/printmsg.c
Do not return pointers into BerElement we do not own
[openldap] / servers / slapd / slapi / printmsg.c
index 87ff17ed40cffdfe0af7eb9022eb9482f929d58f..6bc88d0397feeadac898bc5fe287b10529f531ea 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 /*
  */
 
 #include <portable.h>
-#include <slapi_common.h>
 #include <stdio.h>
-#include <string.h>
-#include <stdarg.h>
+#include <ac/string.h>
+#include <ac/stdarg.h>
+#include <ac/unistd.h>
 #include <fcntl.h>
-#include <errno.h>
+#include <ac/errno.h>
 
 #include <ldap.h>
 #include <ldap_config.h>
@@ -27,7 +27,7 @@
 
 /* Single threads access to routine */
 ldap_pvt_thread_mutex_t slapi_printmessage_mutex; 
-const char             *slapi_log_file = NULL;
+char                   *slapi_log_file = NULL;
 int                    slapi_log_level = SLAPI_LOG_PLUGIN;
 
 int