From 42f9d72254cc07858ea32170583f1cc94d7f5f9c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 10 May 2001 20:42:22 +0000 Subject: Don't abort if the Service is NULL, this is perfectly valid for cipher 2001-05-10 Jeffrey Stedfast * camel-session.c (camel_session_get_password): Don't abort if the Service is NULL, this is perfectly valid for cipher contexts. svn path=/trunk/; revision=9748 --- camel/ChangeLog | 5 +++++ camel/camel-session.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index f085732b99..4ec15cce5d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2001-05-10 Jeffrey Stedfast + + * camel-session.c (camel_session_get_password): Don't abort if the + Service is NULL, this is perfectly valid for cipher contexts. + 2001-05-09 Peter Williams * providers/imap/camel-imap-folder.c (imap_move_messages_to): Pass diff --git a/camel/camel-session.c b/camel/camel-session.c index 5dbd19d963..e0bdf95e96 100644 --- a/camel/camel-session.c +++ b/camel/camel-session.c @@ -542,7 +542,6 @@ camel_session_get_password (CamelSession *session, const char *prompt, const char *item, CamelException *ex) { g_return_val_if_fail (CAMEL_IS_SESSION (session), NULL); - g_return_val_if_fail (CAMEL_IS_SERVICE (service), NULL); g_return_val_if_fail (prompt != NULL, NULL); g_return_val_if_fail (item != NULL, NULL); -- cgit v1.2.3