Re: [evolution-patches] Exchange: patch for bug #241499



Hi,

Attaching a modified patch. Please review this.

Thanks,
Shakti


On Fri, 2005-09-02 at 09:37 +0530, shakti wrote:
> Hi,
> 
> I have attached a patch for bug #241499. Please review it.
> 
> Thanks,
> Shakti
> 
> 
> _______________________________________________
> Evolution-patches mailing list
> Evolution-patches gnome org
> http://mail.gnome.org/mailman/listinfo/evolution-patches
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-exchange/ChangeLog,v
retrieving revision 1.395
diff -u -p -r1.395 ChangeLog
--- ChangeLog	30 Aug 2005 15:09:30 -0000	1.395
+++ ChangeLog	5 Sep 2005 11:16:47 -0000
@@ -1,3 +1,11 @@
+2005-09-02  Shakti Sen <shprasad novell com>
+
+	*addressbook/e-book-backend-exchange.c 
+	(http_status_to_pas): Showing the appropriate 
+	error message by returning the appropriate status.
+
+	Fixes bug #241499.
+
 2005-08-30  Arunprakash  <arunp novell com>
 
 	* camel/camel-exchange-store.c (exchange_get_folder) : Insert into the
Index: addressbook/e-book-backend-exchange.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/addressbook/e-book-backend-exchange.c,v
retrieving revision 1.41
diff -u -p -r1.41 e-book-backend-exchange.c
--- addressbook/e-book-backend-exchange.c	26 Aug 2005 14:33:49 -0000	1.41
+++ addressbook/e-book-backend-exchange.c	5 Sep 2005 11:16:48 -0000
@@ -118,7 +118,7 @@ http_status_to_pas (E2kHTTPStatus status
 
 	switch (status) {
 	case E2K_HTTP_UNAUTHORIZED:
-		return GNOME_Evolution_Addressbook_AuthenticationFailed;
+		return GNOME_Evolution_Addressbook_PermissionDenied;
 	case E2K_HTTP_CANT_CONNECT:
 		return GNOME_Evolution_Addressbook_RepositoryOffline;
 	default:


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