changeset 19811:4c7aa3b07f42

[gaim-migrate @ 16887] work correct with yahoo committer: Ethan Blanton <elb@pidgin.im>
author Ma Yuan <mayuan2006@gmail.com>
date Sat, 19 Aug 2006 16:48:46 +0000
parents da1075366756
children d928bccffe4c
files src/protocols/msn/notification.c src/protocols/msn/soap.c
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Sat Aug 19 16:13:55 2006 +0000
+++ b/src/protocols/msn/notification.c	Sat Aug 19 16:48:46 2006 +0000
@@ -416,10 +416,11 @@
 	cmdproc = session->notification->cmdproc;
 	g_return_if_fail(msg     != NULL);
 	payload = msn_message_gen_payload(msg, &payload_len);
-	gaim_debug_info("MaYuan","send UUM,payload{%s}\n",payload);
+	gaim_debug_info("MaYuan","send UUM,payload{%s},strlen:%d,len:%d\n",
+		payload,strlen(payload),payload_len);
 	type = msg->type;
-	trans = msn_transaction_new(cmdproc, "UUM","%s 32 %d %d",msg->remote_user,type,strlen(payload));
-	msn_transaction_set_payload(trans, payload, strlen(payload));
+	trans = msn_transaction_new(cmdproc, "UUM","%s 32 %d %d",msg->remote_user,type,payload_len);
+	msn_transaction_set_payload(trans, payload, payload_len);
 	msn_cmdproc_send_trans(cmdproc, trans);
 }
 
--- a/src/protocols/msn/soap.c	Sat Aug 19 16:13:55 2006 +0000
+++ b/src/protocols/msn/soap.c	Sat Aug 19 16:48:46 2006 +0000
@@ -356,7 +356,7 @@
 //			msn_soap_close(soapconn);
 #endif
 			/*Process the next queued SOAP request*/
-			msn_soap_post_head_request(soapconn);
+//			msn_soap_post_head_request(soapconn);
 	}
 	return;
 }