Fix the mess with ldb includes.
[metze/samba/wip.git] / source4 / lib / ldb / common / ldb_debug.c
index 8e1c491f1275b6da56c6f9f7179754af0f6fc732..f8009eb8a345403b64f85fe7985e45b5d22efe4b 100644 (file)
@@ -31,7 +31,7 @@
  *  Author: Andrew Tridgell
  */
 
-#include "ldb_includes.h"
+#include "ldb_private.h"
 
 /*
   this allows the user to choose their own debug function
@@ -43,7 +43,7 @@ int ldb_set_debug(struct ldb_context *ldb,
 {
        ldb->debug_ops.debug = debug;
        ldb->debug_ops.context = context;
-       return LDB_SUCCESS;
+       return 0;
 }
 
 /*