projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Final simplifications of the sidebar module.
[apps/madmutt.git]
/
pop.c
diff --git
a/pop.c
b/pop.c
index
b0415aa
..
a066f6e
100644
(file)
--- a/
pop.c
+++ b/
pop.c
@@
-13,7
+13,7
@@
#include <sasl/saslutil.h>
#include <lib-sys/mutt_socket.h>
#include <sasl/saslutil.h>
#include <lib-sys/mutt_socket.h>
-#include <lib-ui/
curses
.h>
+#include <lib-ui/
lib-ui
.h>
#include "crypt.h"
#include "mutt.h"
#include "crypt.h"
#include "mutt.h"
@@
-416,6
+416,7
@@
static pop_query_status pop_authenticate (pop_data_t * pop_data)
attempts++;
break;
}
attempts++;
break;
}
+ mutt_socket_close(pop_data->conn);
}
}
} else {
}
}
} else {
@@
-431,6
+432,7
@@
static pop_query_status pop_authenticate (pop_data_t * pop_data)
attempts++;
break;
}
attempts++;
break;
}
+ mutt_socket_close(pop_data->conn);
}
}
}
}
@@
-625,7
+627,7
@@
static int pop_parse_path (const char *path, ACCOUNT * act)
if (url.scheme == U_POP || url.scheme == U_POPS) {
if (url.scheme == U_POPS) {
if (url.scheme == U_POP || url.scheme == U_POPS) {
if (url.scheme == U_POPS) {
- act->
flags |= M_ACCT_SSL
;
+ act->
has_ssl = 1
;
act->port = POP_SSL_PORT;
}
act->port = POP_SSL_PORT;
}
@@
-1393,7
+1395,7
@@
int pop_fetch_message (MESSAGE * msg, CONTEXT * ctx, int msgno)
bar.msg = _("Fetching message...");
mutt_progress_bar (&bar, 0);
bar.msg = _("Fetching message...");
mutt_progress_bar (&bar, 0);
- msg->fp = m_tempfile(path, sizeof(path), NONULL(
MC
ore.tmpdir), NULL);
+ msg->fp = m_tempfile(path, sizeof(path), NONULL(
mod_c
ore.tmpdir), NULL);
if (!msg->fp) {
mutt_error(_("Could not create temporary file"));
mutt_sleep(2);
if (!msg->fp) {
mutt_error(_("Could not create temporary file"));
mutt_sleep(2);