projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove patchlist things, and more generated and commited things.
[apps/madmutt.git]
/
imap
/
imap.c
diff --git
a/imap/imap.c
b/imap/imap.c
index
a59eb4b
..
db9901a
100644
(file)
--- a/
imap/imap.c
+++ b/
imap/imap.c
@@
-214,7
+214,7
@@
int imap_read_literal (FILE * fp, IMAP_DATA * idata, long bytes, progress_t* bar
if (bar && !(pos % 1024))
mutt_progress_bar (bar, pos);
#ifdef DEBUG
if (bar && !(pos % 1024))
mutt_progress_bar (bar, pos);
#ifdef DEBUG
- if (DebugLevel >= IMAP_LOG_LTRL)
+ if (Debug
File && Debug
Level >= IMAP_LOG_LTRL)
fputc (c, DebugFile);
#endif
}
fputc (c, DebugFile);
#endif
}
@@
-1444,7
+1444,7
@@
int imap_subscribe (char *path, int subscribe)
BUFFER err, token;
IMAP_MBOX mx;
BUFFER err, token;
IMAP_MBOX mx;
- if (mx_get_magic (path)
== M_IMAP || imap_parse_path (path, &mx)
) {
+ if (mx_get_magic (path)
!= M_IMAP || imap_parse_path (path, &mx) < 0
) {
mutt_error (_("Bad mailbox name"));
return -1;
}
mutt_error (_("Bad mailbox name"));
return -1;
}