summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-17 17:16:50 +0100
committerStefan Metzmacher <metze@samba.org>2008-12-29 09:05:15 +0100
commita255f9ce713b29552722ec73e4038226959e1c8e (patch)
treea94ddaa88484f00e859d67e1bbe68771f4335f84 /source3/include
parentb719595fd6fd8606b4a5eefa2b0cc24da503a44c (diff)
downloadsamba-a255f9ce713b29552722ec73e4038226959e1c8e.tar.gz
samba-a255f9ce713b29552722ec73e4038226959e1c8e.tar.bz2
samba-a255f9ce713b29552722ec73e4038226959e1c8e.zip
s3:dbwrap: fix dbwrap_store_uint32() to match dbwrap_store_int32()
All callers expect 0 an success and -1 on error. metze
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index cffb8f7325..5a3776b005 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -441,7 +441,7 @@ int32_t dbwrap_fetch_int32(struct db_context *db, const char *keystr);
int dbwrap_store_int32(struct db_context *db, const char *keystr, int32_t v);
bool dbwrap_fetch_uint32(struct db_context *db, const char *keystr,
uint32_t *val);
-bool dbwrap_store_uint32(struct db_context *db, const char *keystr, uint32_t v);
+int dbwrap_store_uint32(struct db_context *db, const char *keystr, uint32_t v);
uint32_t dbwrap_change_uint32_atomic(struct db_context *db, const char *keystr,
uint32_t *oldval, uint32_t change_val);
int32 dbwrap_change_int32_atomic(struct db_context *db, const char *keystr,