From abb76dccc8fc15dea7213cfeb2351355b172a0fe Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 12 May 2005 10:03:24 +0000 Subject: [PATCH] Fixed crash that could occur if ES update transaction failed. --- NEWS | 2 ++ index/zserver.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index aabf39f..1ff6639 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,7 @@ --- 1.3.26 2005/05/XX +Fixed crash that could occur if ES update transaction failed. + Configure enables the use the crypt API - if available. Fixed bug #304: Fuzzy search regExpr-2 did not use proper error distance diff --git a/index/zserver.c b/index/zserver.c index 0083e71..5a6f129 100644 --- a/index/zserver.c +++ b/index/zserver.c @@ -1,4 +1,4 @@ -/* $Id: zserver.c,v 1.117.2.3 2005-05-12 10:01:54 adam Exp $ +/* $Id: zserver.c,v 1.117.2.4 2005-05-12 10:03:24 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -536,7 +536,7 @@ int bend_esrequest (void *handle, bend_esrequest_rr *rr) return 0; } res = zebra_begin_trans (zh, 1); - if (res) + if (res) /* zebra_trans_failed ? */ zebra_result(zh, &rr->errcode, &rr->errstring); else { -- 1.7.10.4