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:
4d71119
)
Unused ‽
author
Pierre Habouzit
<madcoder@debian.org>
Sun, 13 Jan 2008 17:46:37 +0000
(18:46 +0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Sun, 13 Jan 2008 17:46:37 +0000
(18:46 +0100)
lib-mx/pop.c
patch
|
blob
|
history
diff --git
a/lib-mx/pop.c
b/lib-mx/pop.c
index
a7c2bed
..
38d77dc
100644
(file)
--- a/
lib-mx/pop.c
+++ b/
lib-mx/pop.c
@@
-71,7
+71,6
@@
typedef struct {
cmd_status cmd_top : 2; /* optional command TOP */
cmd_status cmd_user : 2; /* optional command USER */
unsigned resp_codes : 1; /* server supports extended response codes */
cmd_status cmd_top : 2; /* optional command TOP */
cmd_status cmd_user : 2; /* optional command USER */
unsigned resp_codes : 1; /* server supports extended response codes */
- unsigned expire : 1; /* expire is greater than 0 */
unsigned clear_cache : 1;
ssize_t size;
unsigned clear_cache : 1;
ssize_t size;
@@
-560,7
+559,6
@@
static pop_query_status pop_capabilities(pop_data_t * pop_data, int mode)
pop_data->cmd_top = CMD_NOT_AVAILABLE;
pop_data->cmd_user = CMD_NOT_AVAILABLE;
pop_data->resp_codes = 0;
pop_data->cmd_top = CMD_NOT_AVAILABLE;
pop_data->cmd_user = CMD_NOT_AVAILABLE;
pop_data->resp_codes = 0;
- pop_data->expire = 1;
p_delete(&pop_data->auth_list);
}
p_delete(&pop_data->auth_list);
}
@@
-593,8
+591,6
@@
static pop_query_status pop_capabilities(pop_data_t * pop_data, int mode)
if (mode == 2) {
const char *msg = NULL;
if (mode == 2) {
const char *msg = NULL;
- if (!pop_data->expire)
- msg = _("Unable to leave messages on server.");
if (pop_data->cmd_top == CMD_NOT_AVAILABLE)
msg = _("Command TOP is not supported by server.");
if (pop_data->cmd_uidl == CMD_NOT_AVAILABLE)
if (pop_data->cmd_top == CMD_NOT_AVAILABLE)
msg = _("Command TOP is not supported by server.");
if (pop_data->cmd_uidl == CMD_NOT_AVAILABLE)