Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
7069874d
Commit
7069874d
authored
Dec 02, 2002
by
Kurt Zeilenga
Browse files
language tag fix
parent
ad0f8e8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/ad.c
View file @
7069874d
...
...
@@ -385,8 +385,11 @@ static int is_ad_sublang(
subdelimp
=
strchrlen
(
subp
,
';'
,
&
sublen
);
if
(
subdelimp
)
subdelimp
++
;
if
(((
suplen
<
sublen
&&
supp
[
suplen
-
1
]
==
'-'
)
||
suplen
==
sublen
)
&&
strncmp
(
supp
,
subp
,
suplen
)
==
0
)
if
(
suplen
>
sublen
?
(
suplen
-
1
==
sublen
&&
supp
[
suplen
-
1
]
==
'-'
&&
strncmp
(
supp
,
subp
,
sublen
)
==
0
)
:
(
(
suplen
==
sublen
||
supp
[
suplen
-
1
]
==
'-'
)
&&
strncmp
(
supp
,
subp
,
suplen
)
==
0
)
)
{
goto
match
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment