evolution r35629 - trunk/mail



Author: mcrha
Date: Fri Jun 13 06:07:50 2008
New Revision: 35629
URL: http://svn.gnome.org/viewvc/evolution?rev=35629&view=rev

Log:
2008-06-13  Milan Crha  <mcrha redhat com>

	** Fix for bug #314467

	* em-account-editor.c: (emae_url_set_hostport):
	Reset port when setting host name without it.



Modified:
   trunk/mail/ChangeLog
   trunk/mail/em-account-editor.c

Modified: trunk/mail/em-account-editor.c
==============================================================================
--- trunk/mail/em-account-editor.c	(original)
+++ trunk/mail/em-account-editor.c	Fri Jun 13 06:07:50 2008
@@ -1015,6 +1015,7 @@
 		/* "" is converted to NULL, but if we set NULL on the url,
 		   camel_url_to_string strips lots of details */
 		host = g_strdup((txt?txt:""));
+		camel_url_set_port (url, 0);
 	}
 
 	g_strstrip(host);



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