diff options
author | dequis <dx@dxzone.com.ar> | 2015-03-09 05:35:50 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-04-10 14:10:40 -0300 |
commit | 11e42dcf7366ee547b9651648724d35d12e36091 (patch) | |
tree | afc7c81e586d1fb119c5e2856be0742db9963430 /protocols/msn/msn_util.c | |
parent | 254a4dab408b67f78b94054514bbf6f629dd6bba (diff) |
msn: removed switchboards, implemented SDG message
Diffstat (limited to 'protocols/msn/msn_util.c')
-rw-r--r-- | protocols/msn/msn_util.c | 7 |
1 files changed, 4 insertions, 3 deletions
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; |