From 37b56aa219f0ea138eb1e848007abef7c6c60702 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 13 Nov 2001 13:41:23 +0000 Subject: Use maxlines instead of hardcoding the default value. Exit if execv() fails. --- comsat/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comsat') 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) { -- cgit v1.2.1