# HG changeset patch # User Ma Yuan # Date 1155381634 0 # Node ID 98600e8943dd86f3cb5b2ab9af9f77f86363d72e # Parent b6a2c8d390ef7dc958b77d6ea03f22ca845693f3 [gaim-migrate @ 16721] change the GCF payload process procedure committed by Ma Yuan committer: Ethan Blanton diff -r b6a2c8d390ef -r 98600e8943dd src/protocols/msn/notification.c --- a/src/protocols/msn/notification.c Sat Aug 12 10:30:30 2006 +0000 +++ b/src/protocols/msn/notification.c Sat Aug 12 11:20:34 2006 +0000 @@ -1230,14 +1230,19 @@ } static void +gcf_cmd_post(MsnCmdProc *cmdproc, MsnCommand *cmd, char *payload, + size_t len) +{ + /*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"); - if(cmd->payload_len == 0){ - return; - } - /*get the payload content*/ - gaim_debug_info("MaYuan","GCF{%s}\n",cmd->payload); + cmdproc->last_cmd->payload_cb = gcf_cmd_post; + return; } static void