From: Adam Dickmeiss Date: Tue, 22 Oct 2002 10:04:51 +0000 (+0000) Subject: Add missing va_end X-Git-Tag: YAZ.1.9.1.DEBIAN.5~8 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=37406ac2e623304bcbdbfab5c521cc3f8ddcf8eb Add missing va_end --- 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);