From 072571aaf56ebd387bed8cad5f2cd2ae38333c1f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 25 Apr 2006 19:37:21 +0000 Subject: [PATCH] Accept NULL value for sysno in zebra_delete_record --- index/zebraapi.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index/zebraapi.c b/index/zebraapi.c index 320d375..efaf443 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.213 2006-04-05 02:52:11 adam Exp $ +/* $Id: zebraapi.c,v 1.214 2006-04-25 19:37:21 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -2302,9 +2302,10 @@ ZEBRA_RES zebra_delete_record (ZebraHandle zh, ZEBRA_CHECK_HANDLE(zh); - assert(sysno); assert(buf); - yaz_log(log_level, "zebra_delete_record sysno=" ZINT_FORMAT, *sysno); + yaz_log(log_level, "zebra_delete_record"); + if (sysno) + yaz_log(log_level, " sysno=" ZINT_FORMAT, *sysno); if (buf_size < 1) buf_size = strlen(buf); -- 1.7.10.4