projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
370334f
)
using stls should not enable new CAPAs
author
Pierre Habouzit
<madcoder@debian.org>
Sun, 13 Jan 2008 21:27:35 +0000
(22:27 +0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Sun, 13 Jan 2008 21:27:35 +0000
(22:27 +0100)
lib-mx/pop.c
patch
|
blob
|
history
diff --git
a/lib-mx/pop.c
b/lib-mx/pop.c
index
876be67
..
189cb5d
100644
(file)
--- a/
lib-mx/pop.c
+++ b/
lib-mx/pop.c
@@
-586,7
+586,7
@@
static pop_query_status pop_capabilities(pop_data_t * pop_data, int mode)
}
/* Check capabilities */
}
/* Check capabilities */
- if (mode ==
2
) {
+ if (mode ==
1
) {
const char *msg = NULL;
if (pop_data->cmd_top == CMD_NOT_AVAILABLE)
const char *msg = NULL;
if (pop_data->cmd_top == CMD_NOT_AVAILABLE)
@@
-682,16
+682,6
@@
static pop_query_status pop_open_connection (pop_data_t * pop_data)
mutt_sleep (2);
return PQ_ERR;
}
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;
- }
- }
}
}
}
}
@@
-710,7
+700,7
@@
static pop_query_status pop_open_connection (pop_data_t * pop_data)
return ret;
/* recheck capabilities after authentication */
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) {
if (ret == PQ_NOT_CONNECTED)
goto err_conn;
if (ret == PQ_ERR) {