aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2001-01-12 08:18:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-12 08:18:07 +0800
commitf7e2da3380627ffadd9af3755061fb5d3284f7f3 (patch)
tree68f4df21e59dd0c94b3f75a532ae55feb5cc63d2 /mail
parente86c8105a747ec3f96a5483d8e57686d5f5826e4 (diff)
downloadgsoc2013-evolution-f7e2da3380627ffadd9af3755061fb5d3284f7f3.tar.gz
gsoc2013-evolution-f7e2da3380627ffadd9af3755061fb5d3284f7f3.tar.zst
gsoc2013-evolution-f7e2da3380627ffadd9af3755061fb5d3284f7f3.zip
Eek! Don't destroy the account if the connection fails, duh. This is what
2001-01-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c (apply_changes): Eek! Don't destroy the account if the connection fails, duh. This is what is causing the segfaults. svn path=/trunk/; revision=7421
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-account-editor.c16
2 files changed, 12 insertions, 12 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 5f9a158d19..6f9901fcbc 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-01-11 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * mail-account-editor.c (apply_changes): Eek! Don't destroy the
+ account if the connection fails, duh. This is what is causing the
+ segfaults.
+
2001-01-11 Dan Winship <danw@ximian.com>
* folder-browser.c (got_folder): Connect to folder_changed as well
@@ -7,7 +13,7 @@
* GNOME_Evolution_Mail.oafinfo: Add Bonobo/ItemContainer as the
set of supported interfaces in GNOME_Evolution_Mail_Composer
- component.
+ component.
2001-01-11 Dan Winship <danw@ximian.com>
diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c
index c4ae08265a..6336bc5635 100644
--- a/mail/mail-account-editor.c
+++ b/mail/mail-account-editor.c
@@ -166,22 +166,17 @@ apply_changes (MailAccountEditor *editor)
/* check to make sure the source works */
if (!mail_config_check_service (url, CAMEL_PROVIDER_STORE, NULL)) {
camel_url_free (url);
- account_destroy (account);
return FALSE;
}
+ g_free (account->source->url);
+ account->source->url = camel_url_to_string (url, FALSE);
+
if (account->source->save_passwd) {
- char *string;
-
- string = camel_url_to_string (url, FALSE);
- mail_session_set_password (string, url->passwd);
- mail_session_remember_password (string);
- g_free (string);
+ mail_session_set_password (account->source->url, url->passwd);
+ mail_session_remember_password (account->source->url);
}
- /* now that we know this url works, set it */
- g_free (account->source->url);
- account->source->url = camel_url_to_string (url, FALSE);
camel_url_free (url);
/* transport */
@@ -205,7 +200,6 @@ apply_changes (MailAccountEditor *editor)
/* check to make sure the transport works */
if (!mail_config_check_service (url, CAMEL_PROVIDER_TRANSPORT, NULL)) {
camel_url_free (url);
- account_destroy (account);
return FALSE;
}
antw44/cgit/freebsd-ports-gnome/commit/mail/tkrat2?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&id=89af61506a26316b4716417b1ceef08cfbb902d2'>BROKEN on sparc64: Build failskris2004-04-121-1/+7 * SIZEify.trevor2004-01-291-0/+1 * - Update to 2.1.2pav2003-12-133-10/+10 * Per distfile survey, remove mastersites that are no longer keepinglinimon2003-11-061-4/+1 * De-pkg-comment.knu2003-02-212-1/+1 * add an MASTER_SITES of mail/tkrat2edwin2003-01-041-1/+2 * upgrade to 2.1ijliao2003-01-0310-373/+95 * o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1 * Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2 * - PORTDOCS policepat2001-12-241-7/+7 * Remove the long obsolete mail/tkrat port. Remove the NO_LATEST_LINK frommi2001-11-201-2/+0 * Set LATEST_LINK to "tkrat2".knu2001-11-071-0/+2 * Update to 2.0.3. Add another patch of mine, to allow copying a rawmi2001-10-133-3/+35 * A fix for my charset handling patch -- handling of messagesmi2001-10-132-1/+11 * Minor cleanup of the patch...mi2001-06-271-4/+7 * Upgrade to 2.0.2. Add a big patch, which corrects handling of charsetsmi2001-06-274-3/+134 * Use TCL/TK 8.3 (with TCL_STUBS). I did not bother with autodetection ofmi2001-04-095-8/+125 * It is not necessary to manually set DISTNAME in this port.olgeni2001-03-081-1/+0 * Update to version 2.0.1.olgeni2001-03-083-4/+7 * Spaces->tabs in the mail category.olgeni2001-02-051-1/+1 * Fix CONFIGURE_ARGS.kevlo2000-12-271-1/+4 * ccmail's version is 4.8 now, and add manpage.vanilla2000-12-271-1/+3 * Update to version 2.0.steve2000-12-113-6/+6 * Update to version 2.0rc6.steve2000-09-053-7/+7 * Update to 2.0rc3.will2000-06-243-6/+6 * Use PORTVERSION=2.0.rc1 even though portlint doesn't like it.will2000-06-101-1/+1 * Update to 2.0rc1. Portlint.will2000-06-094-8/+33 * Chase the checksum (minor makefile changes)kris2000-04-301-1/+1 * Update to use PORTNAME/PORTVERSIONcpiazza2000-04-141-2/+2 * Update port to 2.0b9jedgar2000-03-113-23/+3 * This port LIB_DEPENDS on c-client4.7 now that the imap-uw port has beensteve2000-02-271-1/+1 * welcome tkrat v2.0b7 (repo copied from ports/mail/tkrat)billf2000-01-304-78/+80