pidgin: 1ccb1507: Oops, make sure that check actually succ...
qulogic at pidgin.im
qulogic at pidgin.im
Sun Apr 25 17:50:43 EDT 2010
-----------------------------------------------------------------
Revision: 1ccb1507e6594c80788043ea114c7fb942828e48
Ancestor: c72abe62fc4721161a616a3a477b6a7860495f9f
Author: qulogic at pidgin.im
Date: 2010-04-25T21:40:25
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1ccb1507e6594c80788043ea114c7fb942828e48
Modified files:
libpurple/protocols/msn/msg.c
ChangeLog:
Oops, make sure that check actually succeeds when it's supposed to.
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/msg.c 6a7f2725f39c442340ec7c2e6ced1cf1a4872ee7
+++ libpurple/protocols/msn/msg.c 683e5c61aad674c12273cd9174bdf5a51a3b97c0
@@ -976,7 +976,7 @@ got_wink_cb(MsnSlpCall *slpcall, const g
purple_debug_info("msn", "Received wink from %s\n", who);
if ((f = purple_mkstemp(&path, TRUE)) &&
- (fwrite(data, size, 1, f) == size)) {
+ (fwrite(data, 1, size, f) == size)) {
datacast_inform_user(slpcall->slplink->swboard,
who,
_("%s sent a wink. <a href='msn-wink://%s'>Click here to play it</a>"),
@@ -1002,7 +1002,7 @@ got_voiceclip_cb(MsnSlpCall *slpcall, co
purple_debug_info("msn", "Received voice clip from %s\n", who);
if ((f = purple_mkstemp(&path, TRUE)) &&
- (fwrite(data, size, 1, f) == size)) {
+ (fwrite(data, 1, size, f) == size)) {
datacast_inform_user(slpcall->slplink->swboard,
who,
_("%s sent a voice clip. <a href='audio://%s'>Click here to play it</a>"),
More information about the Commits
mailing list