don't add the host if it's null
2001-10-09 Rodrigo Moya <rodrigo@ximian.com> * e-url.c (e_uri_to_string): don't add the host if it's null svn path=/trunk/; revision=13526
This commit is contained in:
committed by
Rodrigo Moya
parent
4186cba8a6
commit
20d8a18413
@ -1,3 +1,7 @@
|
||||
2001-10-09 Rodrigo Moya <rodrigo@ximian.com>
|
||||
|
||||
* e-url.c (e_uri_to_string): don't add the host if it's null
|
||||
|
||||
2001-10-06 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* ename/e-address-western.c (e_address_western_parse): Made this
|
||||
|
||||
@ -316,7 +316,7 @@ e_uri_to_string (EUri *uri, gboolean show_password)
|
||||
uri->passwd && show_password ? ":" : "",
|
||||
uri->passwd && show_password ? uri->passwd : "",
|
||||
uri->user ? "@" : "",
|
||||
uri->host,
|
||||
uri->host ? uri->host : "",
|
||||
uri->port,
|
||||
uri->path ? uri->path : "",
|
||||
uri->query ? "?" : "",
|
||||
@ -331,7 +331,7 @@ e_uri_to_string (EUri *uri, gboolean show_password)
|
||||
uri->passwd && show_password ? ":" : "",
|
||||
uri->passwd && show_password ? uri->passwd : "",
|
||||
uri->user ? "@" : "",
|
||||
uri->host,
|
||||
uri->host ? uri->host : "",
|
||||
uri->path ? uri->path : "",
|
||||
uri->query ? "?" : "",
|
||||
uri->query ? uri->query : "");
|
||||
|
||||
Reference in New Issue
Block a user