X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=data1%2Fd1_read.c;h=6e179d9abbc560e703b0d54b5550663188239780;hb=f280b4adca76b5b447dae9d6a01ff1f9067c08b9;hp=09d7c52aa54b29a6aac68fdbb3dbab0876d66876;hpb=804cbe110c2f61627074d7f495f7d97d086105ff;p=idzebra-moved-to-github.git diff --git a/data1/d1_read.c b/data1/d1_read.c index 09d7c52..6e179d9 100644 --- a/data1/d1_read.c +++ b/data1/d1_read.c @@ -1,5 +1,5 @@ -/* $Id: d1_read.c,v 1.4 2003-05-05 20:13:29 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 +/* $Id: d1_read.c,v 1.5 2003-09-08 10:26:51 adam Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 Index Data Aps This file is part of the Zebra server. @@ -1132,6 +1132,9 @@ void data1_concat_text(data1_handle dh, NMEM m, data1_node *n) n->u.data.data = ndata; n->u.data.len = sz; n->next = np; + if (!np && n->parent) + n->parent->last_child = n; + } data1_concat_text(dh, m, n->child); }