From: bal Date: Wed, 23 Jan 1985 16:12:21 +0000 (+0000) Subject: bug fixed in last_line() : assert(l!=0) should be assert(lines!=0). X-Git-Tag: release-5-5~5722 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f487f26e001c18d7b1f7400afc8f5b089c270ed8;p=ack.git bug fixed in last_line() : assert(l!=0) should be assert(lines!=0). --- diff --git a/util/ego/il/il3_aux.c b/util/ego/il/il3_aux.c index dfeefa36c..2572a892f 100644 --- a/util/ego/il/il3_aux.c +++ b/util/ego/il/il3_aux.c @@ -21,7 +21,7 @@ line_p last_line(lines) register line_p l; - assert (l != (line_p) 0); + assert (lines != (line_p) 0); for (l = lines; l->l_next != (line_p) 0; l = l->l_next); return l; }