Fix the mess with ldb includes.
[metze/samba/wip.git] / source4 / lib / ldb / ldb_tdb / ldb_tdb_wrap.c
index 9d856355be420857bae1e04630323f8a2597e43d..6ee8417e25409f865ec23c6524785c7d65e1d400 100644 (file)
@@ -21,8 +21,6 @@
    License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "ldb_includes.h"
-
 #include "ldb_tdb.h"
 
 /*
@@ -53,7 +51,7 @@ static int ltdb_wrap_destructor(struct ltdb_wrap *w)
        if (w == tdb_list) {
                tdb_list = w->next;
        }
-       return LDB_SUCCESS;
+       return 0;
 }                               
 
 static void ltdb_log_fn(struct tdb_context *tdb, enum tdb_debug_level level, const char *fmt, ...) PRINTF_ATTRIBUTE(3, 4);