aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-26 02:29:44 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-26 02:29:44 +0800
commit1e55e9fec34db654fa9abe82957ad7e855282e13 (patch)
tree60aebce412163e421787ae736f61ab3b8c2efe88 /mail
parent8dd41e2ececde56916d2a20299dfa034c647ca7d (diff)
downloadgsoc2013-evolution-1e55e9fec34db654fa9abe82957ad7e855282e13.tar
gsoc2013-evolution-1e55e9fec34db654fa9abe82957ad7e855282e13.tar.gz
gsoc2013-evolution-1e55e9fec34db654fa9abe82957ad7e855282e13.tar.bz2
gsoc2013-evolution-1e55e9fec34db654fa9abe82957ad7e855282e13.tar.lz
gsoc2013-evolution-1e55e9fec34db654fa9abe82957ad7e855282e13.tar.xz
gsoc2013-evolution-1e55e9fec34db654fa9abe82957ad7e855282e13.tar.zst
gsoc2013-evolution-1e55e9fec34db654fa9abe82957ad7e855282e13.zip
Check if the transport is NULL
svn path=/trunk/; revision=13113
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-config.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 1eaebdfeb1..12b080bb2f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2001-09-25 Iain Holmes <iain@ximian.com>
+ * mail-config.c (impl_GNOME_Evolution_MailConfig_addAccount): Check
+ if the transport is NULL.
+
+2001-09-25 Iain Holmes <iain@ximian.com>
+
* mail-display.c (link_menu): Remove the Save Link as (FIXME) item.
2001-09-25 Jeffrey Stedfast <fejj@ximian.com>
diff --git a/mail/mail-config.c b/mail/mail-config.c
index a518144a47..115e1d0d28 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -2006,6 +2006,11 @@ impl_GNOME_Evolution_MailConfig_addAccount (PortableServer_Servant servant,
/* Copy transport */
transport = account->transport;
mail_service = g_new0 (MailConfigService, 1);
+ if (transport.url == NULL) {
+ mail_service->url = NULL;
+ } else {
+ mail_service->url = g_strdup (transport.url);
+ }
mail_service->url = g_strdup (transport.url);
mail_service->keep_on_server = transport.keep_on_server;
mail_service->auto_check = transport.auto_check;