Re: [evolution-patches] NNTP without login fails.



this is already fixed

On Wed, 2005-03-16 at 18:04 +0000, David Woodhouse wrote:
> If we have no username, don't attempt to authenticate.
> 
> --- evolution-data-server-1.1.6/camel/providers/nntp/camel-nntp-store.c.orig	2005-03-03 11:07:23.000000000 +0000
> +++ evolution-data-server-1.1.6/camel/providers/nntp/camel-nntp-store.c	2005-03-03 11:20:47.000000000 +0000
> @@ -253,7 +253,7 @@ connect_to_server (CamelService *service
>  	}
>  
>  	/* if we have username, try it here */
> -	if (service->url->user != NULL
> +	if (service->url->user != NULL && service->url->user[0] != 0
>  	    && camel_nntp_try_authenticate(store, ex) != NNTP_AUTH_ACCEPTED)
>  		goto fail;
>    	
> 
> 
-- 
Jeffrey Stedfast
Evolution Hacker - Novell, Inc.
fejj ximian com  - www.novell.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature



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