[evolution-patches] NNTP without login fails.
- From: David Woodhouse <dwmw2 infradead org>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] NNTP without login fails.
- Date: Wed, 16 Mar 2005 18:04:09 +0000
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;
--
dwmw2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]