diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-01 11:43:00 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:43:55 +0100 |
commit | 5df2dfa2fc0a15113f7d46fc70ab1f0ac2c40776 (patch) | |
tree | 233cdbb3873dbdf6e1a67cf6f7f66de4963435d0 /source4/dsdb/samdb/ldb_modules | |
parent | ad9efe8edd38cc47ff02ca8483ab1a0714cb9ca7 (diff) | |
download | samba-5df2dfa2fc0a15113f7d46fc70ab1f0ac2c40776.tar.gz samba-5df2dfa2fc0a15113f7d46fc70ab1f0ac2c40776.tar.bz2 samba-5df2dfa2fc0a15113f7d46fc70ab1f0ac2c40776.zip |
r25780: fix bool return
metze
(This used to be commit 7b77210d3e2c644d28d6e3795e6c4423dc6ea4bf)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index 8f80b5cd55..c054feadce 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -51,7 +51,7 @@ static bool samldb_msg_add_sid(struct ldb_module *module, struct ldb_message *ms status = ndr_push_struct_blob(&v, msg, sid, (ndr_push_flags_fn_t)ndr_push_dom_sid); if (!NT_STATUS_IS_OK(status)) { - return -1; + return false; } return (ldb_msg_add_value(msg, name, &v, NULL) == 0); } |