changeset 30857:cb16239deeec

Fix possible garbage value.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 21 Aug 2010 21:55:05 +0000
parents 9789e8e7d834
children f60a1a80036f
files libpurple/protocols/msn/notification.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Thu Aug 19 19:55:31 2010 +0000
+++ b/libpurple/protocols/msn/notification.c	Sat Aug 21 21:55:05 2010 +0000
@@ -1898,7 +1898,7 @@
 	if ((type_s = g_hash_table_lookup(table, "Type")) != NULL)
 	{
 		int type = atoi(type_s);
-		char buf[MSN_BUF_LEN];
+		char buf[MSN_BUF_LEN] = "";
 		int minutes;
 
 		switch (type)