/pidgin/main: f6c08d962618: Fix for TALOS-CAN-0142
Andrew Victor
andrew.victor at mxit.com
Mon Jun 20 20:09:57 EDT 2016
Changeset: f6c08d962618f0d097b840e116c1221625677bb0
Author: Andrew Victor <andrew.victor at mxit.com>
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]);
More information about the Commits
mailing list