changeset 30017:519b65d500ff

I don't know why any of these variables need to be static.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 18 Mar 2010 03:49:05 +0000
parents 0ea33256f462
children e0c368986e1f
files libpurple/protocols/msn/directconn.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/directconn.c	Thu Mar 18 03:40:07 2010 +0000
+++ b/libpurple/protocols/msn/directconn.c	Thu Mar 18 03:49:05 2010 +0000
@@ -47,7 +47,7 @@
 {
 	PurpleCipher        *cipher = NULL;
 	PurpleCipherContext *context = NULL;
-	static guchar digest[20];
+	guchar digest[20];
 	int i;
 
 	guint32 g1;
@@ -424,8 +424,8 @@
 
 static gchar*
 msn_dc_serialize_binary_header(MsnDirectConn *dc) {
-	static MsnSlpHeader h;
-	static gchar bin_header[DC_PACKET_HEADER_SIZE];
+	MsnSlpHeader h;
+	gchar bin_header[DC_PACKET_HEADER_SIZE];
 
 	g_return_val_if_fail(dc != NULL, NULL);