From f9a4c0556641ef6c4137e3b06cf137bb9f8e7dab Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 26 Mar 2009 14:44:41 +0000 Subject: Fixed after-NLINE-error assertion. Scanned over all manuals with valgrind. Version up. --- man.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'man.c') diff --git a/man.c b/man.c index eab8e400..f0f5b83c 100644 --- a/man.c +++ b/man.c @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.11 2009/03/26 14:38:11 kristaps Exp $ */ +/* $Id: man.c,v 1.12 2009/03/26 14:44:41 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -343,7 +343,7 @@ man_pmacro(struct man *m, int ln, char *buf) if ( ! man_vwarn(m, ln, ppos, "ill-formed macro: %s", mac)) goto err; - goto out; + return(1); } if (MAN_MAX == (c = man_hash_find(m->htab, mac))) { @@ -355,7 +355,7 @@ man_pmacro(struct man *m, int ln, char *buf) if ( ! man_vwarn(m, ln, ppos, "unknown macro: %s", mac)) goto err; - goto out; + return(1); } /* The macro is sane. Jump to the next word. */ -- cgit v1.2.3-56-ge451