From 7eec88b19326d12780b7587133ed4941cd9776a8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 25 Feb 2003 21:46:52 +0000 Subject: [PATCH] Dont set errCode to 0 in zebra_end_trans, zebra_end_read --- index/zebraapi.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/index/zebraapi.c b/index/zebraapi.c index 02893e9..2ed3b39 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.83 2003-02-12 15:45:59 heikki Exp $ +/* $Id: zebraapi.c,v 1.84 2003-02-25 21:46:52 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -1180,8 +1180,6 @@ void zebra_end_read (ZebraHandle zh) if (zh->trans_no != 0) return; - zh->errCode=0; - #if HAVE_SYS_TIMES_H times (&zh->tms2); logf (LOG_LOG, "user/system: %ld/%ld", @@ -1290,8 +1288,6 @@ void zebra_end_trans (ZebraHandle zh) zh->trans_no--; if (zh->trans_no != 0) return; - zh->errCode=0; - yaz_log (LOG_LOG, "zebra_end_trans"); rval = res_get (zh->res, "shadow"); -- 1.7.10.4