Re: [evolution-patches] [Mail]Patch fix for #323253



just do if (url->host && *url->host)

strlen is more info than you need to solve the problem which means
wasted cpu cycles which means slower.

Jeff

On Mon, 2005-12-05 at 18:46 +0800, shi pu sun com wrote:
> hi all,
> 
> 	that's patch for #323253,  evolution send & receive dialog would
> display the String "Server: , Type:mbox" if url->host == "" in
> format_url(), this patch do a change on checking whether url->host ==
> NULL or url->host's length == 0 to avoid this.
> 
> 	could someone help me to review them?
> 
> thanks,
> 
> jerry
> _______________________________________________
> Evolution-patches mailing list
> Evolution-patches gnome org
> http://mail.gnome.org/mailman/listinfo/evolution-patches
-- 
Jeffrey Stedfast
Evolution Hacker - Novell, Inc.
fejj ximian com  - www.novell.com




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