a176eb9150
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/mutt#36abf851051de8a3b6075959c3a5e285b3fbc8fd
13 lines
458 B
Diff
13 lines
458 B
Diff
diff -ur mutt-1.7.0-orig/imap/imap.c mutt-1.7.0/imap/imap.c
|
|
--- mutt-1.7.0-orig/imap/imap.c 2016-08-20 11:06:26.266272415 +0100
|
|
+++ mutt-1.7.0/imap/imap.c 2016-08-20 11:07:42.874509429 +0100
|
|
@@ -1143,7 +1143,7 @@
|
|
if (!idata->ctx)
|
|
return -1;
|
|
|
|
- if (!mutt_bit_isset (idata->ctx->rights, right))
|
|
+ if (!idata->ctx || !mutt_bit_isset (idata->ctx->rights, right))
|
|
return 0;
|
|
|
|
if (right == MUTT_ACL_WRITE && !imap_has_flag (idata->flags, name))
|