Mercurial > pidgin
comparison plugins/msn/msn.c @ 1327:113a3d16f1ce
[gaim-migrate @ 1337]
hehe
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Wed, 20 Dec 2000 05:28:35 +0000 |
parents | 4741b5a75b9f |
children | 336fc98b7f90 |
comparison
equal
deleted
inserted
replaced
1326:3d82e8f8b786 | 1327:113a3d16f1ce |
---|---|
417 status = recv(fd, buf2, size, 0); | 417 status = recv(fd, buf2, size, 0); |
418 buf2[size] = 0; | 418 buf2[size] = 0; |
419 | 419 |
420 if (strcasecmp("hotmail", resps[1]) == 0) { | 420 if (strcasecmp("hotmail", resps[1]) == 0) { |
421 | 421 |
422 /* FIXME: Eventually remove the following printf() */ | |
423 printf("---READ---\n%s\n---END---\n", buf2); | |
422 if (strstr(buf2, "Content-Type: text/x-msmsgsemailnotification")) { | 424 if (strstr(buf2, "Content-Type: text/x-msmsgsemailnotification")) { |
423 g_snprintf(buf, sizeof(buf), "%s has new hotmail", gc->username); | 425 g_snprintf(buf, sizeof(buf), "%s has new hotmail", gc->username); |
424 do_error_dialog(buf, "Gaim: MSN New Mail"); | 426 do_error_dialog(buf, "Gaim: MSN New Mail"); |
425 } | 427 } |
426 | 428 |