From b734c4640f07d8d2f93d6a9eb934f55fea1264b1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 5 Oct 2004 12:23:25 +0000 Subject: [PATCH] Handle bad est espec properly --- data1/d1_espec.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/data1/d1_espec.c b/data1/d1_espec.c index 606cacf..1cad41c 100644 --- a/data1/d1_espec.c +++ b/data1/d1_espec.c @@ -1,5 +1,5 @@ -/* $Id: d1_espec.c,v 1.3 2004-09-28 10:15:03 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 +/* $Id: d1_espec.c,v 1.4 2004-10-05 12:23:25 adam Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps This file is part of the Zebra server. @@ -200,6 +200,10 @@ static Z_ETagUnit *read_tagunit(char *buf, NMEM nmem, else t->occurrences = 0; } + else + { + return 0; + } return u; } -- 1.7.10.4