summaryrefslogtreecommitdiff
path: root/source3/lib/tldap.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-01-19 23:04:13 +0100
committerJeremy Allison <jra@samba.org>2011-01-26 14:20:37 -0800
commit2c47368d682ee908e79bc43d5c865049397440e1 (patch)
tree324ab4e45f88289a3064e9a4560145be7ec4b872 /source3/lib/tldap.c
parent278c6f8fc538ad8ee069f0682229fad34abb3513 (diff)
downloadsamba-2c47368d682ee908e79bc43d5c865049397440e1.tar.gz
samba-2c47368d682ee908e79bc43d5c865049397440e1.tar.bz2
samba-2c47368d682ee908e79bc43d5c865049397440e1.zip
s3-lib: Fixed a missing return value in tldap.
s3-lib: Fixed a missing return value in tldap.
Diffstat (limited to 'source3/lib/tldap.c')
-rw-r--r--source3/lib/tldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index 56cd870990..f97dc7c11d 100644
--- 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);