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]
/
imap
/
imap.c
diff --git
a/imap/imap.c
b/imap/imap.c
index
9a2234f
..
db9901a
100644
(file)
--- a/
imap/imap.c
+++ b/
imap/imap.c
@@
-1444,7
+1444,7
@@
int imap_subscribe (char *path, int subscribe)
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;
}