Revision: 16721
Author: mayuan2006
Date: 2006-08-12 04:20:34 -0700 (Sat, 12 Aug 2006)
ViewCVS: http://svn.sourceforge.net/gaim/?rev=16721&view=rev
Log Message:
-----------
change the GCF payload process procedure
committed by Ma Yuan<may...@gm...>
Modified Paths:
--------------
branches/soc-2006-msnp13/src/protocols/msn/notification.c
Modified: branches/soc-2006-msnp13/src/protocols/msn/notification.c
===================================================================
--- branches/soc-2006-msnp13/src/protocols/msn/notification.c 2006-08-12 11:16:53 UTC (rev 16720)
+++ branches/soc-2006-msnp13/src/protocols/msn/notification.c 2006-08-12 11:20:34 UTC (rev 16721)
@@ -1230,17 +1230,22 @@
}
static void
-gcf_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
+gcf_cmd_post(MsnCmdProc *cmdproc, MsnCommand *cmd, char *payload,
+ size_t len)
{
- gaim_debug_info("MaYuan","Processing GCF... \n");
- if(cmd->payload_len == 0){
- return;
- }
/*get the payload content*/
gaim_debug_info("MaYuan","GCF{%s}\n",cmd->payload);
}
static void
+gcf_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
+{
+ gaim_debug_info("MaYuan","Processing GCF... \n");
+ cmdproc->last_cmd->payload_cb = gcf_cmd_post;
+ return;
+}
+
+static void
sbs_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
{
gaim_debug_info("MaYuan","Processing SBS... \n");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|