Fri Jan 9 13:51:56 CST 2009 Pekka Pessi <first.last@nokia.com>

* su_string.c: it is A. Not a Z.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11809 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-02-11 16:53:18 +00:00
parent 5ded72256a
commit 4d985dc0ef
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
Wed Feb 11 10:52:32 CST 2009 Wed Feb 11 10:53:10 CST 2009

View File

@ -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;