changeset 22384:2e5ba07ed81a

merge of '6694efeab877d30da766aff29ae0e59bad4860fd' and 'f16a51f390800324b7ff289f6a61a6e0b629d1c7'
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 29 Feb 2008 04:31:07 +0000
parents c72af988f33a (current diff) 50e5ac417035 (diff)
children f332db29a854
files
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/msnutils.c	Fri Feb 29 04:27:51 2008 +0000
+++ b/libpurple/protocols/msn/msnutils.c	Fri Feb 29 04:31:07 2008 +0000
@@ -201,6 +201,7 @@
 		else
 			*d++ = *c;
 	}
+	*d = '\0';
 
 	return buf;
 }
--- a/libpurple/protocols/msnp9/msn-utils.c	Fri Feb 29 04:27:51 2008 +0000
+++ b/libpurple/protocols/msnp9/msn-utils.c	Fri Feb 29 04:31:07 2008 +0000
@@ -163,6 +163,7 @@
 		else
 			*d++ = *c;
 	}
+	*d = '\0';
 
 	return buf;
 }