summaryrefslogtreecommitdiff
path: root/pith/send.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2013-05-31 17:08:22 -0600
committerEduardo Chappa <chappa@washington.edu>2013-05-31 17:08:22 -0600
commit81e994d7907f850506ddc248f84761a54995e58c (patch)
tree3bc4993b48ddeec45dee51323437200ab975887c /pith/send.h
parent077522d7e058133f9de99d0d74481566b21c5a98 (diff)
downloadalpine-81e994d7907f850506ddc248f84761a54995e58c.tar.xz
* Fix not allow remote execution by adding PIPE_NOSHELL to the opening of a url by
a browser.
Diffstat (limited to 'pith/send.h')
-rw-r--r--pith/send.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pith/send.h b/pith/send.h
index 69d763fc..ee3245e5 100644
--- a/pith/send.h
+++ b/pith/send.h
@@ -159,6 +159,8 @@ struct local_message_copy {
unsigned text_written:1;
};
+#define CAN_EDIT(x) (!((x)->never_allow_changing_from) && \
+ F_ON(F_ALLOW_CHANGING_FROM, (x)))
#define TONAME "To"
#define CCNAME "cc"