diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-05-11 04:42:22 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-05-11 04:42:22 +0800 |
commit | 42f9d72254cc07858ea32170583f1cc94d7f5f9c (patch) | |
tree | 7f7f4ed18e51976e6c5d2b247bd758592c2840f6 /camel | |
parent | db264cc52e48ec5025e2c76b26502dba6358073f (diff) | |
download | gsoc2013-evolution-42f9d72254cc07858ea32170583f1cc94d7f5f9c.tar gsoc2013-evolution-42f9d72254cc07858ea32170583f1cc94d7f5f9c.tar.gz gsoc2013-evolution-42f9d72254cc07858ea32170583f1cc94d7f5f9c.tar.bz2 gsoc2013-evolution-42f9d72254cc07858ea32170583f1cc94d7f5f9c.tar.lz gsoc2013-evolution-42f9d72254cc07858ea32170583f1cc94d7f5f9c.tar.xz gsoc2013-evolution-42f9d72254cc07858ea32170583f1cc94d7f5f9c.tar.zst gsoc2013-evolution-42f9d72254cc07858ea32170583f1cc94d7f5f9c.zip |
Don't abort if the Service is NULL, this is perfectly valid for cipher
2001-05-10 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-session.c | 1 |
2 files changed, 5 insertions, 1 deletions
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 <fejj@ximian.com> + + * 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 <peterw@ximian.com> * 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); |