NetworkManager r3441 - trunk/src/backends



Author: dcbw
Date: Wed Mar 12 20:53:11 2008
New Revision: 3441
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3441&view=rev

Log:
Fix Arch backend compilation

Modified:
   trunk/src/backends/NetworkManagerArch.c

Modified: trunk/src/backends/NetworkManagerArch.c
==============================================================================
--- trunk/src/backends/NetworkManagerArch.c	(original)
+++ trunk/src/backends/NetworkManagerArch.c	Wed Mar 12 20:53:11 2008
@@ -448,7 +448,7 @@
 	{
 		char hit[128];
 		gchar** splt;
-		gint hits,i;    
+		gint hits,j;
 
 		if (sscanf(val,"( %[!0-9a-zA-z ] )",hit))
 		{
@@ -456,15 +456,15 @@
 			splt=g_strsplit(hit," ",0);
 
 			hits=g_strv_length(splt);
-			for (i=0;i<hits;i++)
+			for (j=0;j<hits;j++)
 			{
 
-				if (splt[i][0]=='!')
+				if (splt[j][0]=='!')
 				{
 					continue;
 				}
 
-				if ((val=g_hash_table_lookup(cfg,splt[i])))
+				if ((val=g_hash_table_lookup(cfg,splt[j])))
 				{
 
 					if (sscanf(val," \" default gw %[0-9a-zA-Z.-_] \"",hit))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]