diff options
author | Andreas Schneider <asn@samba.org> | 2011-01-19 23:04:13 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-01-26 14:20:37 -0800 |
commit | 2c47368d682ee908e79bc43d5c865049397440e1 (patch) | |
tree | 324ab4e45f88289a3064e9a4560145be7ec4b872 /source3 | |
parent | 278c6f8fc538ad8ee069f0682229fad34abb3513 (diff) | |
download | samba-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')
-rw-r--r-- | source3/lib/tldap.c | 1 |
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); |