summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-06-06 19:16:34 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-06-06 19:16:34 +0300
commit491bec23a77b19df8b9c0442696ce57e3fc5c604 (patch)
tree0d0f3c6a0a419cb9455e68f36db9c6b9a9064556
parent66da33c354a4a54d0107ea719c77c70ec20d85a3 (diff)
downloadmailutils-491bec23a77b19df8b9c0442696ce57e3fc5c604.tar.gz
mailutils-491bec23a77b19df8b9c0442696ce57e3fc5c604.tar.bz2
Bugfix
* mh/mh_whatnow.c (edit): Initialize ws.ws_env
-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 999116f2f..6d9e8c7ea 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)
420 { 420 {
421 struct mu_wordsplit ws; 421 struct mu_wordsplit ws;
422 extern char **environ; 422 extern char **environ;
423 ws.ws_env = (char const **)environ;
423 if (mu_wordsplit (ed, &ws, 424 if (mu_wordsplit (ed, &ws,
424 MU_WRDSF_QUOTE 425 MU_WRDSF_QUOTE
425 | MU_WRDSF_SQUEEZE_DELIMS 426 | MU_WRDSF_SQUEEZE_DELIMS

Return to:

Send suggestions and report system problems to the System administrator.