Mercurial > pidgin
comparison src/protocols/irc/msgs.c @ 6350:34c07f5f34a0
[gaim-migrate @ 6849]
-Compile warning fixes from The Man (Paco-Paco)
-2 memleak fixes from me. One of them leaked the size of a chat message when
either sending or receiving, I forgot which (my bad!)
-Hopefully make AIM correctly refetch your buddy list when AOL doesn't
send it to you the first time
-Maybe something else
-Chocolate
-Vanilla
-Strawberry
-Napoleon
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 31 Jul 2003 23:21:36 +0000 |
parents | e06e04e44914 |
children | ffb1b5003772 |
comparison
equal
deleted
inserted
replaced
6349:dc89c06af77e | 6350:34c07f5f34a0 |
---|---|
459 continue; | 459 continue; |
460 } | 460 } |
461 ib->flag = TRUE; | 461 ib->flag = TRUE; |
462 } | 462 } |
463 | 463 |
464 g_strfreev(nicks); | |
465 | |
464 g_hash_table_foreach(irc->buddies, (GHFunc)irc_buddy_status, (gpointer)irc); | 466 g_hash_table_foreach(irc->buddies, (GHFunc)irc_buddy_status, (gpointer)irc); |
465 } | 467 } |
466 | 468 |
467 static void irc_buddy_status(char *name, struct irc_buddy *ib, struct irc_conn *irc) | 469 static void irc_buddy_status(char *name, struct irc_buddy *ib, struct irc_conn *irc) |
468 { | 470 { |
688 } | 690 } |
689 | 691 |
690 if (sscanf(parts[1], "%lu", &oldstamp) != 1) { | 692 if (sscanf(parts[1], "%lu", &oldstamp) != 1) { |
691 msg = g_strdup(_("Error: invalid PONG from server")); | 693 msg = g_strdup(_("Error: invalid PONG from server")); |
692 } else { | 694 } else { |
693 msg = g_strdup_printf(_("PING reply -- Lag: %d seconds"), time(NULL) - oldstamp); | 695 msg = g_strdup_printf(_("PING reply -- Lag: %lu seconds"), time(NULL) - oldstamp); |
694 } | 696 } |
695 | 697 |
696 convo = gaim_find_conversation_with_account(parts[0], irc->account); | 698 convo = gaim_find_conversation_with_account(parts[0], irc->account); |
697 g_strfreev(parts); | 699 g_strfreev(parts); |
698 if (convo) { | 700 if (convo) { |