File eds-e_password-retval.diff of Package evolution-data-server-2.6

--- libedataserverui/e-passwords.c.orig	2007-01-15 18:14:44.690964968 +0530
+++ libedataserverui/e-passwords.c	2007-01-15 18:20:50.453360632 +0530
@@ -599,9 +599,10 @@ ep_forget_password (EPassMsg *msg)
 }
 #endif
 
-#if WITH_GNOME_KEYRING
+static void
 ep_get_password (EPassMsg *msg)
 {
+#if WITH_GNOME_KEYRING
 	char *path, *passwd;
 	char *encoded = NULL;
 	GnomeKeyringAttributeList *attributes;
@@ -685,14 +686,7 @@ ep_get_password (EPassMsg *msg)
 		}
 		
 	}
-
-	if (!msg->noreply)
-		e_msgport_reply(&msg->msg);
-}
 #else
-static void
-ep_get_password (EPassMsg *msg)
-{
 	char *path, *passwd;
 	char *encoded = NULL;
 
@@ -710,10 +704,10 @@ ep_get_password (EPassMsg *msg)
 		}
 	}
 
+#endif
 	if (!msg->noreply)
 		e_msgport_reply(&msg->msg);
 }
-#endif
 
 static void
 ep_add_password (EPassMsg *msg)
openSUSE Build Service is sponsored by