evolution r35630 - branches/gnome-2-22/mail



Author: mcrha
Date: Fri Jun 13 06:08:05 2008
New Revision: 35630
URL: http://svn.gnome.org/viewvc/evolution?rev=35630&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:
   branches/gnome-2-22/mail/ChangeLog
   branches/gnome-2-22/mail/em-account-editor.c

Modified: branches/gnome-2-22/mail/em-account-editor.c
==============================================================================
--- branches/gnome-2-22/mail/em-account-editor.c	(original)
+++ branches/gnome-2-22/mail/em-account-editor.c	Fri Jun 13 06:08:05 2008
@@ -1031,6 +1031,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]