aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eldap/src/eldap.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-06-30 12:27:48 +0200
committerSiri Hansen <[email protected]>2017-09-15 17:07:49 +0200
commit532ab69fce9b7d1dc6974632ed8d17fdab68bd1a (patch)
treee8c1e49682354c744fdc2bd97552ec749c2177c2 /lib/eldap/src/eldap.erl
parent91ddeccdf27bc5fb1252ebcd839d4d32529bee52 (diff)
downloadotp-532ab69fce9b7d1dc6974632ed8d17fdab68bd1a.tar.gz
otp-532ab69fce9b7d1dc6974632ed8d17fdab68bd1a.tar.bz2
otp-532ab69fce9b7d1dc6974632ed8d17fdab68bd1a.zip
eldap: Do not use deprecated functions in string(3)
Diffstat (limited to 'lib/eldap/src/eldap.erl')
-rw-r--r--lib/eldap/src/eldap.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/eldap/src/eldap.erl b/lib/eldap/src/eldap.erl
index 625309271b..2b84872b92 100644
--- a/lib/eldap/src/eldap.erl
+++ b/lib/eldap/src/eldap.erl
@@ -1368,9 +1368,9 @@ rm_leading_slash(Tail) -> Tail.
parse_attributes([$?|Tail]) ->
case split_string(Tail,$?) of
{[],Attributes} ->
- {[],{attributes,string:tokens(Attributes,",")}};
+ {[],{attributes,string:lexemes(Attributes,",")}};
{Attributes,Rest} ->
- {Rest,{attributes,string:tokens(Attributes,",")}}
+ {Rest,{attributes,string:lexemes(Attributes,",")}}
end.
parse_hostport(Str) ->