diff options
author | Federico Mena Quintero <federico@novell.com> | 2010-06-02 01:48:33 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@novell.com> | 2010-06-02 01:50:02 +0800 |
commit | f5f7d23c543fc3d110c9713e9335c1cd41a16aff (patch) | |
tree | 3cb31ffd98ff086258b0213d7512b31e366db360 /mail | |
parent | 7bdfa7b4732bcf558f92cf9ae4e6dc928b5e6edc (diff) | |
download | gsoc2013-evolution-f5f7d23c543fc3d110c9713e9335c1cd41a16aff.tar gsoc2013-evolution-f5f7d23c543fc3d110c9713e9335c1cd41a16aff.tar.gz gsoc2013-evolution-f5f7d23c543fc3d110c9713e9335c1cd41a16aff.tar.bz2 gsoc2013-evolution-f5f7d23c543fc3d110c9713e9335c1cd41a16aff.tar.lz gsoc2013-evolution-f5f7d23c543fc3d110c9713e9335c1cd41a16aff.tar.xz gsoc2013-evolution-f5f7d23c543fc3d110c9713e9335c1cd41a16aff.tar.zst gsoc2013-evolution-f5f7d23c543fc3d110c9713e9335c1cd41a16aff.zip |
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>
Diffstat (limited to 'mail')
-rw-r--r-- | 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 643f8f511c..5c3c90e3b2 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); |