Fix possible garbage value.

Sat, 21 Aug 2010 21:55:05 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sat, 21 Aug 2010 21:55:05 +0000
changeset 30700
fb64f0e498b2
parent 30691
b254fed526a6
child 30701
062081d3c627

Fix possible garbage value.

libpurple/protocols/msn/notification.c file | annotate | diff | comparison | revisions
--- 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)

mercurial