# HG changeset patch # User Ma Yuan # Date 1155381634 0 # Node ID 1ffbe358c877f246e239c606ba668f5cc5b79d5a # Parent 3a15b4e5c33684864f5ccb827fd6f10025eee7ab [gaim-migrate @ 16721] change the GCF payload process procedure committed by Ma Yuan committer: Ethan Blanton diff -r 3a15b4e5c336 -r 1ffbe358c877 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