Mercurial > pidgin
changeset 19797:1ffbe358c877
[gaim-migrate @ 16721]
change the GCF payload process procedure
committed by Ma Yuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
author | Ma Yuan <mayuan2006@gmail.com> |
---|---|
date | Sat, 12 Aug 2006 11:20:34 +0000 |
parents | 3a15b4e5c336 |
children | c2f3cd6626e1 |
files | src/protocols/msn/notification.c |
diffstat | 1 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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