libpurple/protocols/msn/msg.c

changeset 30064
9e6f32b8ced9
parent 30063
a42ac7c244c8
child 30185
a5aaff27a405
child 30200
50c2380f3607
child 30929
1a6dafa19155
--- 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>"),

mercurial