[Freeswitch-svn] [commit] r11778 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su

FreeSWITCH SVN mikej at freeswitch.org
Wed Feb 11 08:17:59 PST 2009


Author: mikej
Date: Wed Feb 11 10:17:58 2009
New Revision: 11778

Log:
Thu Jan  8 14:11:49 CST 2009  Pekka Pessi <first.last at nokia.com>
  * su_string.c: fixed su_strcasestr()



Modified:
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/test_memmem.c

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/test_memmem.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/test_memmem.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/test_memmem.c	Wed Feb 11 10:17:58 2009
@@ -147,6 +147,9 @@
     TEST_1(su_strcasestr("OnG", hs) == NULL);
     TEST_1(su_strcasestr(hs, "Z") == NULL);
     TEST_1(su_strcasestr(hs, "z") == NULL);
+
+    TEST_S(su_strcasestr("foobar", "OB"), "obar");
+    TEST_S(su_strcasestr("FOOBAR", "ob"), "OBAR");
   }
 
   {



More information about the Freeswitch-svn mailing list