summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-07-26 17:48:34 +0200
committerAndrew Bartlett <abartlet@samba.org>2018-02-19 19:17:12 +0100
commitc96dc78aa680d3a1c1d53ea9b18a966025a93e16 (patch)
tree0976743ac26bdef69ee2a313158405b089fac4c8 /source3
parent9c9c2754a950d6cd411d490fa7fb9fad5b194a01 (diff)
downloadsamba-c96dc78aa680d3a1c1d53ea9b18a966025a93e16.tar.gz
s3:tldap: Fix parsing LDAPv2 escaped strings
Yes, this is outdated, but the missing 'break' produces a compiler warning. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Simo Sorce <idra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/tldap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index 40064fdeeed..33a852446b9 100644
--- a/source3/lib/tldap.c
+++ b/source3/lib/tldap.c
@@ -1295,6 +1295,8 @@ static bool tldap_unescape_inplace(char *value, size_t *val_len)
case '\\':
value[p] = value[i];
p++;
+
+ break;
default:
/* invalid */
return false;