Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
sofia-sip
Commits
071d1916
Commit
071d1916
authored
Jan 09, 2009
by
Pekka Pessi
Browse files
su_string.c: it is A. Not a Z.
darcs-hash:20090109195156-db55f-9b56dfe059572748388bc82ce04d7c60d7cc5b5a.gz
parent
f683b730
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libsofia-sip-ua/su/su_string.c
libsofia-sip-ua/su/su_string.c
+1
-1
No files found.
libsofia-sip-ua/su/su_string.c
View file @
071d1916
...
@@ -56,7 +56,7 @@ su_strcasestr(const char *haystack,
...
@@ -56,7 +56,7 @@ su_strcasestr(const char *haystack,
if
(
'A'
<=
lcn
&&
lcn
<=
'Z'
)
if
(
'A'
<=
lcn
&&
lcn
<=
'Z'
)
lcn
+=
'a'
-
'A'
;
lcn
+=
'a'
-
'A'
;
else
if
(
'a'
<=
ucn
&&
ucn
<=
'z'
)
else
if
(
'a'
<=
ucn
&&
ucn
<=
'z'
)
ucn
-=
'a'
-
'
Z
'
;
ucn
-=
'a'
-
'
A
'
;
if
(
lcn
==
0
)
if
(
lcn
==
0
)
return
(
char
*
)
haystack
;
return
(
char
*
)
haystack
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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