comparison src/protocols/oscar/util.c @ 10116:9f358a718f38

[gaim-migrate @ 11153] I went through every commit email on oldstatus since we branched, and merged relevant things to HEAD that had only been applied on oldstatus. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 18 Oct 2004 19:02:33 +0000
parents c66345b33b88
children 7d31d61e6438
comparison
equal deleted inserted replaced
10115:4fd312ceaa29 10116:9f358a718f38
272 * 272 *
273 */ 273 */
274 faim_export int aim_sncmp(const char *sn1, const char *sn2) 274 faim_export int aim_sncmp(const char *sn1, const char *sn2)
275 { 275 {
276 276
277 if ((sn1 == NULL) || (sn2 == NULL))
278 return -1;
279
277 do { 280 do {
278 while (*sn2 == ' ') 281 while (*sn2 == ' ')
279 sn2++; 282 sn2++;
280 while (*sn1 == ' ') 283 while (*sn1 == ' ')
281 sn1++; 284 sn1++;