gnome-vfs r5467 - in trunk: . modules



Author: gicmo
Date: Fri Mar 21 11:21:39 2008
New Revision: 5467
URL: http://svn.gnome.org/viewvc/gnome-vfs?rev=5467&view=rev

Log:
2008-03-21  Christian Kellner  <gicmo gnome org>

        * modules/http-neon-method.c: Declare http_context_host_matches
        static. Get rid of unused local variable in do_open ().
        Patch from Bryan Hundven. (#523670)


Modified:
   trunk/ChangeLog
   trunk/modules/http-neon-method.c

Modified: trunk/modules/http-neon-method.c
==============================================================================
--- trunk/modules/http-neon-method.c	(original)
+++ trunk/modules/http-neon-method.c	Fri Mar 21 11:21:39 2008
@@ -1773,7 +1773,7 @@
 	return GNOME_VFS_OK;
 }
 
-gboolean
+static gboolean
 http_context_host_matches (HttpContext *context, const char *glob)
 {
         GnomeVFSToplevelURI *uri;
@@ -2435,10 +2435,8 @@
 			return result;
 		} 
 	} else {
-                gboolean use_range = TRUE;
-
 		handle->use_range = i_can_haz_range_cause_serverz_not_br0ken (hctx);
-                DEBUG_HTTP ("Use range: %s\n", use_range ? "on" : "off");
+                DEBUG_HTTP ("Use range: %s\n", handle->use_range ? "on" : "off");
 	}
 
 	result = http_transfer_start (handle);	



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