From: Christian H. <ch...@us...> - 2003-06-26 09:27:17
|
Update of /cvsroot/gaim/gaim/src/protocols/msn In directory sc8-pr-cvs1:/tmp/cvs-serv10882 Modified Files: notification.c Log Message: This should prevent incoming mobile pages from MSN-enabled devices from spitting out a bunch of error dialogs in gaim. That, or it will crash gaim. I'm really not too sure. Guess I'll find out in 0.65! Index: notification.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/msn/notification.c,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- notification.c 21 Jun 2003 04:10:03 -0000 1.40 +++ notification.c 26 Jun 2003 09:27:14 -0000 1.41 @@ -602,6 +602,20 @@ } static gboolean +ipg_cmd(MsnServConn *servconn, const char *command, const char **params, + size_t param_count) +{ + GaimConnection *gc = servconn->session->account->gc; + + servconn->parsing_msg = TRUE; + servconn->msg_passport = NULL; + servconn->msg_friendly = NULL; + servconn->msg_len = atoi(params[0]); + + return TRUE; +} + +static gboolean lsg_cmd(MsnServConn *servconn, const char *command, const char **params, size_t param_count) { @@ -1392,6 +1406,7 @@ msn_servconn_register_command(notification, "GTC", blank_cmd); msn_servconn_register_command(notification, "ILN", iln_cmd); msn_servconn_register_command(notification, "INF", inf_cmd); + msn_servconn_register_command(notification, "IPG", ipg_cmd); msn_servconn_register_command(notification, "LSG", lsg_cmd); msn_servconn_register_command(notification, "LST", lst_cmd); msn_servconn_register_command(notification, "MSG", msg_cmd); |