pidgin: fb061afd: I don't know why any of these variables ...

qulogic at pidgin.im qulogic at pidgin.im
Fri May 21 18:07:31 EDT 2010


-----------------------------------------------------------------
Revision: fb061afd578da93a8feb5daadcbd6618ea8f319d
Ancestor: 4cb4bdc8d58e9f940ca7ebf12499fe5e71473103
Author: qulogic at pidgin.im
Date: 2010-03-18T03:49:05
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/fb061afd578da93a8feb5daadcbd6618ea8f319d

Modified files:
        libpurple/protocols/msn/directconn.c

ChangeLog: 

I don't know why any of these variables need to be static.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/directconn.c	fe0a7c3427c790e62af36bbf30768859f6019ee8
+++ libpurple/protocols/msn/directconn.c	b7f793a5afe49f51b03dbfa6145c8a581e3fc1d4
@@ -47,7 +47,7 @@ msn_dc_generate_nonce(MsnDirectConn *dc)
 {
 	PurpleCipher        *cipher = NULL;
 	PurpleCipherContext *context = NULL;
-	static guchar digest[20];
+	guchar digest[20];
 	int i;
 
 	guint32 g1;
@@ -424,8 +424,8 @@ msn_dc_serialize_binary_header(MsnDirect
 
 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);
 


More information about the Commits mailing list