utils: introduce sipe_strcase_equal()
commit9f5cce6d795adb7e99f34a08da2e945f8364d195
authorStefan Becker <stefan.becker@nokia.com>
Thu, 18 Mar 2010 16:51:48 +0000 (18 18:51 +0200)
committerStefan Becker <stefan.becker@nokia.com>
Thu, 18 Mar 2010 16:51:48 +0000 (18 18:51 +0200)
tree78285cc9675bd413d5c2059aa788ac27ecc3f8e2
parent287660ade5f8692278483b72abeb3e6128c368d1
utils: introduce sipe_strcase_equal()

Same as glib g_ascii_strcasecmp() but

  * doesn't complain about NULL pointers
  * delivers the correct result when one or both pointers are NULL

Replaced most invocations of g_ascii_strcasecmp() with the new function.
src/core/sip-csta.c
src/core/sipe-dialog.c
src/core/sipe-ft.c
src/core/sipe-session.c
src/core/sipe-utils.c
src/core/sipe-utils.h
src/core/sipe.c
src/core/sipmsg.c