Mercurial > pidgin
comparison src/protocols/msn/msn.c @ 2494:2c1950c5544a
[gaim-migrate @ 2507]
don't ask
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 12 Oct 2001 22:31:12 +0000 |
parents | 569ae9f2bb89 |
children | 227cc42ffa6e |
comparison
equal
deleted
inserted
replaced
2493:1b7a1133962d | 2494:2c1950c5544a |
---|---|
617 if (i == 0 || buf[i - 1] != '\n') { | 617 if (i == 0 || buf[i - 1] != '\n') { |
618 hide_login_progress(gc, "Error reading from server"); | 618 hide_login_progress(gc, "Error reading from server"); |
619 signoff(gc); | 619 signoff(gc); |
620 return; | 620 return; |
621 } | 621 } |
622 debug_printf("S: %s", buf); | 622 debug_printf("MSN S: %s", buf); |
623 g_strchomp(buf); | 623 g_strchomp(buf); |
624 | 624 |
625 if (!g_strncasecmp(buf, "ADD", 3)) { | 625 if (!g_strncasecmp(buf, "ADD", 3)) { |
626 char *list, *user, *friend, *tmp = buf; | 626 char *list, *user, *friend, *tmp = buf; |
627 struct msn_add_permit *ap = g_new0(struct msn_add_permit, 1); | 627 struct msn_add_permit *ap = g_new0(struct msn_add_permit, 1); |
980 if (i == 0 || buf[i - 1] != '\n') { | 980 if (i == 0 || buf[i - 1] != '\n') { |
981 hide_login_progress(gc, "Error reading from server"); | 981 hide_login_progress(gc, "Error reading from server"); |
982 signoff(gc); | 982 signoff(gc); |
983 return; | 983 return; |
984 } | 984 } |
985 debug_printf("S: %s", buf); | 985 debug_printf("MSN S: %s", buf); |
986 g_strchomp(buf); | 986 g_strchomp(buf); |
987 | 987 |
988 if (!g_strncasecmp(buf, "VER", 3)) { | 988 if (!g_strncasecmp(buf, "VER", 3)) { |
989 /* we got VER, check to see that MSNP5 is in the list, then send INF */ | 989 /* we got VER, check to see that MSNP5 is in the list, then send INF */ |
990 if (!strstr(buf, "MSNP5")) { | 990 if (!strstr(buf, "MSNP5")) { |