summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2017-06-06 16:16:34 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2017-06-06 16:16:34 (GMT)
commit491bec23a77b19df8b9c0442696ce57e3fc5c604 (patch) (side-by-side diff)
tree0d0f3c6a0a419cb9455e68f36db9c6b9a9064556
parent66da33c354a4a54d0107ea719c77c70ec20d85a3 (diff)
downloadmailutils-491bec23a77b19df8b9c0442696ce57e3fc5c604.tar.gz
mailutils-491bec23a77b19df8b9c0442696ce57e3fc5c604.tar.bz2
Bugfix
* mh/mh_whatnow.c (edit): Initialize ws.ws_env
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--mh/mh_whatnow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mh/mh_whatnow.c b/mh/mh_whatnow.c
index 999116f..6d9e8c7 100644
--- a/mh/mh_whatnow.c
+++ b/mh/mh_whatnow.c
@@ -420,6 +420,7 @@ edit (struct mh_whatnow_env *wh, int argc, char **argv, int *whs)
{
struct mu_wordsplit ws;
extern char **environ;
+ ws.ws_env = (char const **)environ;
if (mu_wordsplit (ed, &ws,
MU_WRDSF_QUOTE
| MU_WRDSF_SQUEEZE_DELIMS

Return to:

Send suggestions and report system problems to the System administrator.