git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad9efe8
)
r25780: fix bool return
author
Stefan Metzmacher
<metze@samba.org>
Thu, 1 Nov 2007 10:43:00 +0000
(11:43 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 04:43:55 +0000
(
05:43
+0100)
metze
(This used to be commit
7b77210d3e2c644d28d6e3795e6c4423dc6ea4bf
)
source4/dsdb/samdb/ldb_modules/samldb.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/samldb.c
b/source4/dsdb/samdb/ldb_modules/samldb.c
index 8f80b5cd555ba52b9d053789d24cf1a94c0ee291..c054feadcee34b1e98e0c5f355dc30f6ddd076e6 100644
(file)
--- 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);
}