X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=util%2Flog.c;h=2b28a59f332261db1c6610bb52d6e3a204c60932;hb=d239d37370affeb6525e5148554c05104dbdf5d7;hp=e208fbf2f9eb7748ef95346945e87793850c0f36;hpb=d054cdd41417401fbba915e20203882159f32283;p=yaz-moved-to-github.git 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);