summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2008-09-09 17:06:13 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-24 19:40:03 +0200
commitcf1935817fce0d6c7f4d2797c18f8c116220abd4 (patch)
tree2f3dee97392de3b66dd7f8482d0d5b5f1e61f1db /source4/lib
parent291ca9384345d8c674a96f3671d44ba09af8b787 (diff)
downloadsamba-cf1935817fce0d6c7f4d2797c18f8c116220abd4.tar.gz
samba-cf1935817fce0d6c7f4d2797c18f8c116220abd4.tar.bz2
samba-cf1935817fce0d6c7f4d2797c18f8c116220abd4.zip
Cosmetic corrections for the DSDB module
This commit applies some cosmetic corrections for the DSDB (Directory Server Database).
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb-samba/ldif_handlers.c2
-rw-r--r--source4/lib/ldb_wrap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb-samba/ldif_handlers.c b/source4/lib/ldb-samba/ldif_handlers.c
index a16582d294..46ea09554d 100644
--- a/source4/lib/ldb-samba/ldif_handlers.c
+++ b/source4/lib/ldb-samba/ldif_handlers.c
@@ -134,7 +134,7 @@ static int ldb_canonicalise_objectSid(struct ldb_context *ldb, void *mem_ctx,
/* Perhaps not a string after all */
return ldb_handler_copy(ldb, mem_ctx, in, out);
}
- return 0;
+ return LDB_SUCCESS;
}
return ldb_handler_copy(ldb, mem_ctx, in, out);
}
diff --git a/source4/lib/ldb_wrap.c b/source4/lib/ldb_wrap.c
index 6c683a1e33..8082f4fac5 100644
--- a/source4/lib/ldb_wrap.c
+++ b/source4/lib/ldb_wrap.c
@@ -84,7 +84,7 @@ static int ldb_wrap_destructor(struct ldb_context *ldb)
smb_panic("probable memory leak in ldb");
#endif
}
- return 0;
+ return LDB_SUCCESS;
}
/*