comparison src/protocols/yahoo/yahoo.c @ 2682:db2b0b733732

[gaim-migrate @ 2695] forgot this. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 07 Nov 2001 00:03:56 +0000
parents 37d80035e77f
children 4836eae8dd8c
comparison
equal deleted inserted replaced
2681:37d80035e77f 2682:db2b0b733732
45 45
46 #include "pixmaps/status-away.xpm" 46 #include "pixmaps/status-away.xpm"
47 #include "pixmaps/status-here.xpm" 47 #include "pixmaps/status-here.xpm"
48 #include "pixmaps/status-idle.xpm" 48 #include "pixmaps/status-idle.xpm"
49 49
50 #define YAHOO_DEBUG 50 #undef YAHOO_DEBUG
51 51
52 #define USEROPT_MAIL 0 52 #define USEROPT_MAIL 0
53 53
54 #define USEROPT_PAGERHOST 3 54 #define USEROPT_PAGERHOST 3
55 #define YAHOO_PAGER_HOST "scs.yahoo.com" 55 #define YAHOO_PAGER_HOST "scs.yahoo.com"
549 else if (pair->key == 14) 549 else if (pair->key == 14)
550 msg = pair->value; 550 msg = pair->value;
551 l = l->next; 551 l = l->next;
552 } 552 }
553 553
554 show_got_added(gc, id, who, NULL, msg); 554 if (id)
555 show_got_added(gc, id, who, NULL, msg);
555 } 556 }
556 557
557 static void yahoo_process_mail(struct gaim_connection *gc, struct yahoo_packet *pkt) 558 static void yahoo_process_mail(struct gaim_connection *gc, struct yahoo_packet *pkt)
558 { 559 {
559 char *who = NULL; 560 char *who = NULL;