Mercurial > pidgin
diff src/protocols/msn/dispatch.c @ 7937:0dc286295b36
[gaim-migrate @ 8608]
Remove some unnecessary stuff.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sat, 27 Dec 2003 01:35:04 +0000 |
| parents | 414c701ef1ff |
| children | ad5c8f01882b |
line wrap: on
line diff
--- a/src/protocols/msn/dispatch.c Sat Dec 27 01:31:10 2003 +0000 +++ b/src/protocols/msn/dispatch.c Sat Dec 27 01:35:04 2003 +0000 @@ -187,14 +187,7 @@ GaimConnection *gc = servconn->session->account->gc; if (isdigit(*command)) - { - char buf[4]; - - strncpy(buf, command, 4); - buf[4] = '\0'; - - gaim_connection_error(gc, (char *)msn_error_get_text(atoi(buf))); - } + gaim_connection_error(gc, msn_error_get_text(atoi(command))); else gaim_connection_error(gc, _("Unable to parse message."));
