]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/extended.c
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / servers / slapd / back-bdb / extended.c
index dfe8b29a3cf51c8fa2066c7ff43ce04f83356e62..9938b5c0e598b0d749e5da37ad01368a72366730 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2004 The OpenLDAP Foundation.
+ * Copyright 2000-2012 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -20,7 +20,6 @@
 #include <ac/string.h>
 
 #include "back-bdb.h"
-#include "external.h"
 #include "lber_pvt.h"
 
 static struct exop {
@@ -50,6 +49,6 @@ bdb_extended( Operation *op, SlapReply *rs )
        }
 
        rs->sr_text = "not supported within naming context";
-       return LDAP_UNWILLING_TO_PERFORM;
+       return rs->sr_err = LDAP_UNWILLING_TO_PERFORM;
 }