evolution-data-server r9780 - in branches/gnome-2-24/calendar: . backends/caldav



Author: mcrha
Date: Wed Nov 26 19:01:21 2008
New Revision: 9780
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9780&view=rev

Log:
2008-11-26  Milan Crha  <mcrha redhat com>

	** Fix for bug #559272

	* backends/caldav/e-cal-backend-caldav.c: (soup_authenticate):
	Do not use same password twice (causes infinite loop).



Modified:
   branches/gnome-2-24/calendar/ChangeLog
   branches/gnome-2-24/calendar/backends/caldav/e-cal-backend-caldav.c

Modified: branches/gnome-2-24/calendar/backends/caldav/e-cal-backend-caldav.c
==============================================================================
--- branches/gnome-2-24/calendar/backends/caldav/e-cal-backend-caldav.c	(original)
+++ branches/gnome-2-24/calendar/backends/caldav/e-cal-backend-caldav.c	Wed Nov 26 19:01:21 2008
@@ -771,7 +771,9 @@
 	cbdav = E_CAL_BACKEND_CALDAV (data);
 	priv = E_CAL_BACKEND_CALDAV_GET_PRIVATE (cbdav);
 
-	soup_auth_authenticate (auth, priv->username, priv->password);
+	/* do not send same password twice, but keep it for later use */
+	if (!retrying)
+		soup_auth_authenticate (auth, priv->username, priv->password);
 }
 
 static gint



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