[evolution/express2] Use the send_port, not the recv_port, when configuring SMTP for an account



commit 501a06b1534b591ddf952d1c5a64d3c1eda211e2
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 2ceb77d..c25de79 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -3149,8 +3149,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]