[evolution] Use the send_port, not the recv_port, when configuring SMTP for an account
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Use the send_port, not the recv_port, when configuring SMTP for an account
- Date: Tue, 1 Jun 2010 17:44:40 +0000 (UTC)
commit f5f7d23c543fc3d110c9713e9335c1cd41a16aff
Author: Federico Mena Quintero <federico novell com>
Date: Tue Jun 1 12:48:33 2010 -0500
Use the send_port, not the recv_port, when configuring SMTP for an account
This was just a cut&paste bug; it caused the SMTP port to be overwritten
with the receiving port (for IMAP, POP, etc.).
Signed-off-by: Federico Mena Quintero <federico novell com>
mail/em-account-editor.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 643f8f5..5c3c90e 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -3204,8 +3204,8 @@ emae_check_complete (EConfig *ec, const gchar *pageid, gpointer data)
camel_url_set_protocol (url, "smtp");
camel_url_set_param (url, "use_ssl", sdata->ssl);
camel_url_set_host (url, sdata->send);
- if (sdata->recv_port && *sdata->recv_port)
- camel_url_set_port (url, atoi(sdata->recv_port));
+ if (sdata->send_port && *sdata->send_port)
+ camel_url_set_port (url, atoi(sdata->send_port));
if (sdata->send_user && *sdata->send_user)
camel_url_set_user (url, sdata->send_user);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]