From 11e42dcf7366ee547b9651648724d35d12e36091 Mon Sep 17 00:00:00 2001 From: dequis Date: Mon, 9 Mar 2015 05:35:50 -0300 Subject: msn: removed switchboards, implemented SDG message --- protocols/msn/msn_util.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'protocols/msn/msn_util.c') diff --git a/protocols/msn/msn_util.c b/protocols/msn/msn_util.c index e4c7aa61..43256a2a 100644 --- a/protocols/msn/msn_util.c +++ b/protocols/msn/msn_util.c @@ -265,8 +265,9 @@ char **msn_linesplit(char *line) 0: Command reported error; Abort *immediately*. (The connection does not exist anymore) 1: OK */ -int msn_handler(struct msn_handler_data *h) +int msn_handler(struct msn_data *h) { + struct im_connection *ic = h->ic; int st; h->rxq = g_renew(char, h->rxq, h->rxlen + 1024); @@ -298,7 +299,7 @@ int msn_handler(struct msn_handler_data *h) for (count = 0; cmd[count]; count++) { ; } - st = h->exec_command(h, cmd, count); + st = msn_ns_command(h, cmd, count); g_free(cmd_text); /* If the connection broke, don't continue. We don't even exist anymore. */ @@ -339,7 +340,7 @@ int msn_handler(struct msn_handler_data *h) ; } - st = h->exec_message(h, msg, h->msglen, cmd, count); + st = msn_ns_message(h, msg, h->msglen, cmd, count); g_free(msg); g_free(h->cmd_text); h->cmd_text = NULL; -- cgit v1.2.3