diff libpurple/protocols/msn/slp.c @ 20541:a9022965162b

propagate from branch 'im.pidgin.cpw.khc.msnp14' (head 60c1ae856c10cfcb75590f268816616e8a005aa1) to branch 'im.pidgin.pidgin' (head 50f213de2725c1ebf3b9c7d9082ff92538c984ed)
author Ka-Hing Cheung <khc@hxbc.us>
date Wed, 19 Sep 2007 06:22:25 +0000
parents aea9ac30c0c5 723b5a2f91ce
children bc731b26335c
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c	Wed Sep 19 06:06:52 2007 +0000
+++ b/libpurple/protocols/msn/slp.c	Wed Sep 19 06:22:25 2007 +0000
@@ -33,6 +33,8 @@
 
 /* ms to delay between sending buddy icon requests to the server. */
 #define BUDDY_ICON_DELAY 20000
+/*debug SLP*/
+#define MSN_DEBUG_UD
 
 static void send_ok(MsnSlpCall *slpcall, const char *branch,
 					const char *type, const char *content);
@@ -777,11 +779,11 @@
 	if ((conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_ANY, who, gc->account))) {
 
 		/* FIXME: it would be better if we wrote the data as we received it
-		          instead of all at once, calling write multiple times and
-		          close once at the very end
-		*/
+		   instead of all at once, calling write multiple times and
+		   close once at the very end
+		 */
 		purple_conv_custom_smiley_write(conv, slpcall->data_info, data, size);
-		purple_conv_custom_smiley_close(conv, slpcall->data_info);
+		purple_conv_custom_smiley_close(conv, slpcall->data_info );
 	}
 #ifdef MSN_DEBUG_UD
 	purple_debug_info("msn", "Got smiley: %s\n", slpcall->data_info);