gvfs r1652 - in trunk: . client



Author: gicmo
Date: Fri Mar 14 00:11:02 2008
New Revision: 1652
URL: http://svn.gnome.org/viewvc/gvfs?rev=1652&view=rev

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

	* client/httpuri.c:
	Make sure we set the port to -1 in case when no port
	is specified on the url so the port will be omiited
	when we convert the url to a string


Modified:
   trunk/ChangeLog
   trunk/client/httpuri.c

Modified: trunk/client/httpuri.c
==============================================================================
--- trunk/client/httpuri.c	(original)
+++ trunk/client/httpuri.c	Fri Mar 14 00:11:02 2008
@@ -232,6 +232,8 @@
       
       if (port && (port_num = atoi (port)))
           decoded_uri->port = port_num;
+      else
+          decoded_uri->port = -1;
 
       decoded_uri->path = g_strdup (info->path);
 



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