Fix LDAP substrings filter (EJAB-1715)

This commit is contained in:
Evgeniy Khramtsov 2015-04-21 11:49:41 +03:00
parent fd54181435
commit ed79a61752
1 changed files with 2 additions and 4 deletions

View File

@ -507,16 +507,14 @@ present(Attribute) ->
-type substr() :: [{initial | any | final, binary()}].
-type 'SubstringFilter'() ::
#'SubstringFilter'{type :: binary(),
substrings :: {'SubstringFilter_substrings',
substr()}}.
substrings :: substr()}.
-type substrings() :: {substrings, 'SubstringFilter'()}.
-spec substrings(binary(), substr()) -> substrings().
substrings(Type, SubStr) ->
Ss = {'SubstringFilter_substrings', SubStr},
{substrings,
#'SubstringFilter'{type = Type, substrings = Ss}}.
#'SubstringFilter'{type = Type, substrings = SubStr}}.
-type match_opts() :: [{matchingRule | type, binary()} |
{dnAttributes, boolean()}].