X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fzebrash.c;h=462bfdace71b4f2de208f3070f510d9ec5c795af;hp=b11a63e7242365051c4c148f1439cff4c654c1aa;hb=c944571888712854653be0d2debf903b8651c8e2;hpb=3c32ec08b365ba1cbfa705d7cbefca5b7b4afe28 diff --git a/index/zebrash.c b/index/zebrash.c index b11a63e..462bfda 100644 --- a/index/zebrash.c +++ b/index/zebrash.c @@ -1,4 +1,4 @@ -/* $Id: zebrash.c,v 1.35 2005-09-13 11:51:06 adam Exp $ +/* $Id: zebrash.c,v 1.36 2005-12-09 11:33:32 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -743,7 +743,7 @@ static int cmd_help( char *args[], WRBUF outbuff) /* If Zebra reports an error after an operation, * append it to the outbuff and log it */ -static void Zerrors ( WRBUF outbuff) +static void Zerrors (WRBUF outbuff) { int ec; if (!zh) @@ -757,7 +757,6 @@ static void Zerrors ( WRBUF outbuff) wrbuf_printf(outbuff, " Zebra error %d: %s, (%s)\n", ec, zebra_errString (zh), zebra_errAdd (zh) ); - zebra_clearError(zh); } }