Perform a NULL-check. Hopefully fixes bug #7874.
2001-09-27 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (mail_session_remember_password): Perform a NULL-check. Hopefully fixes bug #7874. svn path=/trunk/; revision=13198
This commit is contained in:
committed by
Jeffrey Stedfast
parent
d503c5e756
commit
7511816ec5
@ -1,3 +1,8 @@
|
||||
2001-09-27 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* mail-session.c (mail_session_remember_password): Perform a
|
||||
NULL-check. Hopefully fixes bug #7874.
|
||||
|
||||
2001-09-27 Dan Winship <danw@ximian.com>
|
||||
|
||||
* mail-offline-handler.c (service_is_relevant): A service needs to
|
||||
|
||||
@ -446,6 +446,9 @@ mail_session_remember_password (const char *url_string)
|
||||
CamelURL *url;
|
||||
char *simple_url;
|
||||
|
||||
if (!passwords)
|
||||
return;
|
||||
|
||||
url = camel_url_new (url_string, NULL);
|
||||
simple_url = camel_url_to_string (url, CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS);
|
||||
camel_url_free (url);
|
||||
|
||||
Reference in New Issue
Block a user