From 37406ac2e623304bcbdbfab5c521cc3f8ddcf8eb Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 22 Oct 2002 10:04:51 +0000 Subject: [PATCH] Add missing va_end --- util/log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/log.c b/util/log.c index e208fbf..2b28a59 100644 --- a/util/log.c +++ b/util/log.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2002, Index Data * See the file LICENSE for details. * - * $Id: log.c,v 1.29 2002-09-25 12:37:07 adam Exp $ + * $Id: log.c,v 1.30 2002-10-22 10:04:51 adam Exp $ */ #if HAVE_CONFIG_H @@ -180,6 +180,7 @@ void yaz_log(int level, const char *fmt, ...) sprintf(buf + strlen(buf), " [%s]", strerror(yaz_errno())); #endif } + va_end (ap); if (start_hook_func) (*start_hook_func)(o_level, buf, start_hook_info); ti = time(0); -- 1.7.10.4