diff libpurple/proxy.c @ 30413:7c871249318b

Fix some "Dead nested assignment"s and then kill off some useless variables related to them.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 14 Aug 2010 05:17:38 +0000
parents 9e60e300541a
children 9a7c5d242521
line wrap: on
line diff
--- a/libpurple/proxy.c	Sat Aug 14 03:55:19 2010 +0000
+++ b/libpurple/proxy.c	Sat Aug 14 05:17:38 2010 +0000
@@ -1023,7 +1023,7 @@
 
 				g_free(response);
 
-			} else if((header = g_strrstr((const char *)connect_data->read_buffer, "Proxy-Authenticate: Basic"))) {
+			} else if (g_strrstr((const char *)connect_data->read_buffer, "Proxy-Authenticate: Basic") != NULL) {
 				gchar *t1, *t2;
 				const char *username, *password;