changeset 2378:dfaf5d9d433e

[gaim-migrate @ 2391] this has bothered me committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 27 Sep 2001 23:58:48 +0000
parents 466b29d35b85
children cacaf7ace3a5
files src/protocols/yahoo/rxhandlers.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/rxhandlers.c	Thu Sep 27 23:29:23 2001 +0000
+++ b/src/protocols/yahoo/rxhandlers.c	Thu Sep 27 23:58:48 2001 +0000
@@ -222,6 +222,7 @@
 			break;
 		*tmp++ = '\0';
 		str_array[2] = tmp;
+		str_array[2][strlen(str_array[2]) - 1] = 0;
 		if (sess->callbacks[YAHOO_HANDLE_MESSAGE].function)
 			(*sess->callbacks[YAHOO_HANDLE_MESSAGE].function)(sess, pkt->nick2,
 									  str_array[0],