aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/camel-session.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 847482b14b..461ad7ef3f 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,8 @@
2001-05-16 Jeffrey Stedfast <fejj@ximian.com>
+ * camel-session.c (camel_session_forget_password): The service can
+ be NULL here too, thanks to Wayne Davis for pointing this out.
+
* camel-smime-context.c (camel_smime_context_new): We don't need
to be passed the certdb path anymore.
diff --git a/camel/camel-session.c b/camel/camel-session.c
index e0bdf95e96..7dc3c268f3 100644
--- a/camel/camel-session.c
+++ b/camel/camel-session.c
@@ -569,7 +569,6 @@ camel_session_forget_password (CamelSession *session, CamelService *service,
const char *item, CamelException *ex)
{
g_return_if_fail (CAMEL_IS_SESSION (session));
- g_return_if_fail (CAMEL_IS_SERVICE (service));
g_return_if_fail (item != NULL);
CS_CLASS (session)->forget_password (session, service, item, ex);