attempts++;
break;
}
+ mutt_socket_close(pop_data->conn);
}
}
} else {
attempts++;
break;
}
+ mutt_socket_close(pop_data->conn);
}
}
/* Check capabilities */
if (mode == 2) {
- char *msg = NULL;
+ const char *msg = NULL;
if (!pop_data->expire)
msg = _("Unable to leave messages on server.");
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;
}
bar.msg = _("Fetching message...");
mutt_progress_bar (&bar, 0);
- msg->fp = m_tempfile(path, sizeof(path), NONULL(MCore.tmpdir), NULL);
+ msg->fp = m_tempfile(path, sizeof(path), NONULL(mod_core.tmpdir), NULL);
if (!msg->fp) {
mutt_error(_("Could not create temporary file"));
mutt_sleep(2);