From 04ecd9c7e5f10487439020b866406c58e1196ca6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 9 Dec 2005 10:49:10 +0000 Subject: [PATCH] Fix bad printing of sysno --- index/zebraapi.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index/zebraapi.c b/index/zebraapi.c index 38b8989..4c9b462 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.196 2005-12-09 10:45:04 adam Exp $ +/* $Id: zebraapi.c,v 1.197 2005-12-09 10:49:10 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -2200,8 +2200,9 @@ ZEBRA_RES zebra_update_record (ZebraHandle zh, ASSERTZH; assert(buf); - yaz_log(log_level, "zebra_update_record sysno=" ZINT_FORMAT, - sysno ? *sysno : "none"); + yaz_log(log_level, "zebra_update_record"); + if (sysno) + yaz_log(log_level, " sysno=" ZINT_FORMAT, *sysno); if (buf_size < 1) buf_size = strlen(buf); -- 1.7.10.4