More accuracy check end of line in nodelist. Thanks to Konstantin Kuzov 2:5019/40

This commit is contained in:
Stas Degteff 2009-07-17 16:52:31 +00:00
parent 8f76a359a5
commit 5dedb119d8

View File

@ -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);
}