projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
buffy.c
diff --git
a/buffy.c
b/buffy.c
index
335f0ef
..
4d79995
100644
(file)
--- a/
buffy.c
+++ b/
buffy.c
@@
-322,17
+322,17
@@
int mutt_buffy_check (int force)
for (i = 0; i < Incoming->length; i++) {
tmp = (BUFFY*) Incoming->data[i];
#ifdef USE_IMAP
for (i = 0; i < Incoming->length; i++) {
tmp = (BUFFY*) Incoming->data[i];
#ifdef USE_IMAP
- if (mx_
is_imap (tmp->path)
)
+ if (mx_
get_magic (tmp->path) == M_IMAP
)
tmp->magic = M_IMAP;
else
#endif
#ifdef USE_POP
tmp->magic = M_IMAP;
else
#endif
#ifdef USE_POP
- if (mx_
is_pop (tmp->path)
)
+ if (mx_
get_magic (tmp->path) == M_IMAP
)
tmp->magic = M_POP;
else
#endif
#ifdef USE_NNTP
tmp->magic = M_POP;
else
#endif
#ifdef USE_NNTP
- if (
(tmp->magic == M_NNTP) || mx_is_nntp (tmp->path)
)
+ if (
mx_get_magic (tmp->path) == M_NNTP
)
tmp->magic = M_NNTP;
else
#endif
tmp->magic = M_NNTP;
else
#endif