Mercurial > pidgin.yaz
comparison libpurple/protocols/myspace/message.c @ 24743:5f8e8b89b143
Remove a bunch of calls to msim_msg_dump(). I find it really annoying
that incoming messages get printed multiple times. The entire thing
is printed in msim_parse(), so why would we want to print it anywhere
else?
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 16 Dec 2008 21:31:05 +0000 |
parents | c1c464583f8c |
children | 6b7cd5769e98 |
comparison
equal
deleted
inserted
replaced
24742:b9e1e062007e | 24743:5f8e8b89b143 |
---|---|
713 if (!msg) { | 713 if (!msg) { |
714 /* already free as can be */ | 714 /* already free as can be */ |
715 return; | 715 return; |
716 } | 716 } |
717 | 717 |
718 #ifdef MSIM_MSG_DEBUG_FREE | |
719 msim_msg_dump("msim_msg_free: freeing %s", msg); | |
720 #endif | |
721 | |
722 g_list_foreach(msg, msim_msg_free_element, NULL); | 718 g_list_foreach(msg, msim_msg_free_element, NULL); |
723 g_list_free(msg); | 719 g_list_free(msg); |
724 } | 720 } |
725 | 721 |
726 /** | 722 /** |
869 | 865 |
870 raw = msim_msg_pack(msg); | 866 raw = msim_msg_pack(msg); |
871 g_return_val_if_fail(raw != NULL, FALSE); | 867 g_return_val_if_fail(raw != NULL, FALSE); |
872 success = msim_send_raw(session, raw); | 868 success = msim_send_raw(session, raw); |
873 g_free(raw); | 869 g_free(raw); |
874 | |
875 msim_msg_dump("msim_msg_send()ing %s\n", msg); | |
876 | 870 |
877 return success; | 871 return success; |
878 } | 872 } |
879 | 873 |
880 /** | 874 /** |