diff options
author | Andrew Kroeger <andrew@id10ts.net> | 2009-05-26 15:22:13 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-05-26 16:38:39 -0400 |
commit | bf863bccb662ff71a381f7c6d00e901d3c1c32fd (patch) | |
tree | 9f6d6d3e28d20ca3560d6d7cd7081e85082a1576 /source4/lib/ldb/common/ldb_controls.c | |
parent | 447515efaabb408a1deead64d39236c6c8e9aaea (diff) | |
download | samba-bf863bccb662ff71a381f7c6d00e901d3c1c32fd.tar.gz samba-bf863bccb662ff71a381f7c6d00e901d3c1c32fd.tar.bz2 samba-bf863bccb662ff71a381f7c6d00e901d3c1c32fd.zip |
s4:ldb:modules: Correct typos.
Diffstat (limited to 'source4/lib/ldb/common/ldb_controls.c')
-rw-r--r-- | source4/lib/ldb/common/ldb_controls.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/lib/ldb/common/ldb_controls.c b/source4/lib/ldb/common/ldb_controls.c index 0c587e0905..6f127d8c39 100644 --- a/source4/lib/ldb/common/ldb_controls.c +++ b/source4/lib/ldb/common/ldb_controls.c @@ -39,7 +39,6 @@ struct ldb_control *ldb_request_get_control(struct ldb_request *req, const char { int i; - /* check if there's a paged request control */ if (req->controls != NULL) { for (i = 0; req->controls[i]; i++) { if (strcmp(oid, req->controls[i]->oid) == 0) { @@ -59,7 +58,6 @@ struct ldb_control *ldb_reply_get_control(struct ldb_reply *rep, const char *oid { int i; - /* check if there's a paged request control */ if (rep->controls != NULL) { for (i = 0; rep->controls[i]; i++) { if (strcmp(oid, rep->controls[i]->oid) == 0) { @@ -75,7 +73,7 @@ struct ldb_control *ldb_reply_get_control(struct ldb_reply *rep, const char *oid /* saves the current controls list into the "saver" and replace the one in req with a new one excluding the "exclude" control */ -/* returns False on error */ +/* returns 0 on error */ int save_controls(struct ldb_control *exclude, struct ldb_request *req, struct ldb_control ***saver) { struct ldb_control **lcs; |