Mercurial > pidgin.yaz
diff libpurple/protocols/msn/msg.c @ 30194:0f1df8098d00
Oops, make sure that check actually succeeds when it's supposed to.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 25 Apr 2010 21:40:25 +0000 |
parents | 1c3ee8378e2e |
children | 28dd2b7331fd 71fe96932a8e 0b22c840f4f4 f8ec889c5bce |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c Sun Apr 25 21:29:40 2010 +0000 +++ b/libpurple/protocols/msn/msg.c Sun Apr 25 21:40:25 2010 +0000 @@ -976,7 +976,7 @@ 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 @@ 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>"),