X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=data1%2Fd1_write.c;h=f4de231c3ba6fdbc1dbdab8a1159f6baf8e90346;hb=6190fa227a5264b96517a8fa74f658747e5713d8;hp=003bc152663d957589250422a19a2967814ea0e7;hpb=ac13dceecd5f75669820819575daf88e0add5c8d;p=idzebra-moved-to-github.git diff --git a/data1/d1_write.c b/data1/d1_write.c index 003bc15..f4de231 100644 --- a/data1/d1_write.c +++ b/data1/d1_write.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2011 Index Data + Copyright (C) 2004-2013 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -175,7 +175,7 @@ static int nodetoidsgml(data1_node *n, int select, WRBUF b, int col, while (l) { int wlen; - + while (l && d1_isspace(*p)) p++, l--; if (!l) @@ -230,9 +230,9 @@ static int nodetoidsgml(data1_node *n, int select, WRBUF b, int col, char *data1_nodetoidsgml (data1_handle dh, data1_node *n, int select, int *len) { WRBUF b = data1_get_wrbuf (dh); - + wrbuf_rewind(b); - + if (!data1_is_xmlmode (dh)) { wrbuf_puts (b, "<");