X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=data1%2Fd1_espec.c;h=1cad41cc023bd72c0d26f3dc07777a986f45e792;hb=12c6db025bffd23e760ceb31120468cf363256df;hp=fba103f5601257bb59c4a927e9108dda005d9751;hpb=02266b68e2e2c86d8a8467ee56721926b365d2d0;p=idzebra-moved-to-github.git diff --git a/data1/d1_espec.c b/data1/d1_espec.c index fba103f..1cad41c 100644 --- a/data1/d1_espec.c +++ b/data1/d1_espec.c @@ -1,5 +1,5 @@ -/* $Id: d1_espec.c,v 1.2 2002-10-22 13:19:50 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. @@ -27,7 +27,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include #include -#include +#include static Z_Variant *read_variant(int argc, char **argv, NMEM nmem, const char *file, int lineno) @@ -200,6 +200,10 @@ static Z_ETagUnit *read_tagunit(char *buf, NMEM nmem, else t->occurrences = 0; } + else + { + return 0; + } return u; }