git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
278c6f8
)
s3-lib: Fixed a missing return value in tldap.
author
Andreas Schneider
<asn@samba.org>
Wed, 19 Jan 2011 22:04:13 +0000
(23:04 +0100)
committer
Jeremy Allison
<jra@samba.org>
Wed, 26 Jan 2011 22:20:37 +0000
(14:20 -0800)
s3-lib: Fixed a missing return value in tldap.
source3/lib/tldap.c
patch
|
blob
|
history
diff --git
a/source3/lib/tldap.c
b/source3/lib/tldap.c
index 56cd87099086bfc4ea24db13448580cd27ee4106..f97dc7c11d78c31d1c5defd8ed865a8b0eb26bc8 100644
(file)
--- a/
source3/lib/tldap.c
+++ b/
source3/lib/tldap.c
@@
-2371,6
+2371,7
@@
void tldap_msg_sctrls(struct tldap_message *msg, int *num_sctrls,
if (msg == NULL) {
*sctrls = NULL;
*num_sctrls = 0;
+ return;
}
*sctrls = msg->res_sctrls;
*num_sctrls = talloc_array_length(msg->res_sctrls);