diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-11-13 13:41:23 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-11-13 13:41:23 +0000 |
commit | 37b56aa219f0ea138eb1e848007abef7c6c60702 (patch) | |
tree | d26c02bac6a58a3f9578598e6aceb69a36448a34 /comsat | |
parent | 84acb01190ff9aced2aaf9f51d715be0f22ad1fc (diff) | |
download | mailutils-37b56aa219f0ea138eb1e848007abef7c6c60702.tar.gz mailutils-37b56aa219f0ea138eb1e848007abef7c6c60702.tar.bz2 |
Use maxlines instead of hardcoding the default value. Exit if execv() fails.
Diffstat (limited to 'comsat')
-rw-r--r-- | comsat/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comsat/action.c b/comsat/action.c index 0e65601ef..b534ab903 100644 --- a/comsat/action.c +++ b/comsat/action.c @@ -158,7 +158,7 @@ expand_escape (char **pp, message_t msg, char *cr, struct obstack *stk) if (size == 0) size = 400; if (lncount == 0) - lncount = 5; + lncount = maxlines; if (message_get_body (msg, &body) == 0 && body_get_stream (body, &stream) == 0) { |