/pidgin/main: f6c08d962618: Fix for TALOS-CAN-0142
Andrew Victor <[email protected]> Mon, 20 Jun 2016 20:09:57 -0400
| Newsgroups | gmane.comp.gnome.gaim.cvs |
|---|---|
| Message-ID | <[email protected]> |
Changeset: f6c08d962618f0d097b840e116c1221625677bb0 Author: Andrew Victor <[email protected]> Date: 2016-06-02 16:11 -0500 Branch: release-2.x.y URL: https://hg.pidgin.im/pidgin/main/rev/f6c08d962618 Description: Fix for TALOS-CAN-0142 diffstat: libpurple/protocols/mxit/multimx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff --git a/libpurple/protocols/mxit/multimx.c b/libpurple/protocols/mxit/multimx.c --- a/libpurple/protocols/mxit/multimx.c +++ b/libpurple/protocols/mxit/multimx.c @@ -360,7 +360,7 @@ void multimx_message_received(struct RXM unsigned int i; for (i = 1; i < strlen(msg); i++) { /* search for end of nickname */ - if (msg[i] == '>') { + if ((msg[i] == '>') && (msg[i+1] == '\n')) { msg[i] = '\0'; g_free(mx->from); mx->from = g_strdup(&msg[1]); _______________________________________________ Commits mailing list [email protected] https://pidgin.im/cgi-bin/mailman/listinfo/commits