}
/* Check capabilities */
- if (mode == 2) {
+ if (mode == 1) {
const char *msg = NULL;
if (pop_data->cmd_top == CMD_NOT_AVAILABLE)
mutt_sleep (2);
return PQ_ERR;
}
- else {
- /* recheck capabilities after STLS completes */
- ret = pop_capabilities (pop_data, 1);
- if (ret == PQ_NOT_CONNECTED)
- goto err_conn;
- if (ret == PQ_ERR) {
- mutt_sleep (2);
- return PQ_ERR;
- }
- }
}
}
return ret;
/* recheck capabilities after authentication */
- ret = pop_capabilities (pop_data, 2);
+ ret = pop_capabilities (pop_data, 1);
if (ret == PQ_NOT_CONNECTED)
goto err_conn;
if (ret == PQ_ERR) {