From 5dedb119d8bb260d5d99a476b8b07d21a3636c88 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Fri, 17 Jul 2009 16:52:31 +0000 Subject: [PATCH] More accuracy check end of line in nodelist. Thanks to Konstantin Kuzov 2:5019/40 --- goldlib/gall/gftnnlge.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/goldlib/gall/gftnnlge.cpp b/goldlib/gall/gftnnlge.cpp index 6d78b17..411d93d 100644 --- a/goldlib/gall/gftnnlge.cpp +++ b/goldlib/gall/gftnnlge.cpp @@ -118,9 +118,12 @@ void ftn_golded_nodelist_index::fetchdata() { read(fhx, buf, 255); if(*buf != ';') { +/* char* end = strchr(buf, '\r'); if(end) *end = NUL; +*/ + strtok(buf,"\r\n"); data.unpack(buf); }