X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fschema.c;h=bd1601ce0da03b76c69c08a3afba93f3b84c9248;hb=ae3f784d5b8b022fc8bb5ecd2e612d9b1cdd13ed;hp=0d4b99af688e52efeee4409757992c6cca143469;hpb=41569c5ed756112c212a565470de2017e9876cf6;p=openldap
diff --git a/servers/slapd/schema.c b/servers/slapd/schema.c
index 0d4b99af68..bd1601ce0d 100644
--- a/servers/slapd/schema.c
+++ b/servers/slapd/schema.c
@@ -2,7 +2,7 @@
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software .
*
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2005 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -23,7 +23,6 @@
#include
#include "slap.h"
-#include "ldap_pvt.h"
#include "lutil.h"
@@ -46,13 +45,8 @@ schema_info( Entry **entry, const char **text )
e = (Entry *) SLAP_CALLOC( 1, sizeof(Entry) );
if( e == NULL ) {
/* Out of memory, do something about it */
-#ifdef NEW_LOGGING
- LDAP_LOG( OPERATION, ERR,
- "schema_info: SLAP_CALLOC failed - out of memory.\n", 0, 0,0 );
-#else
Debug( LDAP_DEBUG_ANY,
"schema_info: SLAP_CALLOC failed - out of memory.\n", 0, 0, 0 );
-#endif
*text = "out of memory";
return LDAP_OTHER;
}