More accuracy check end of line in nodelist. Thanks to Konstantin Kuzov 2:5019/40
This commit is contained in:
parent
8f76a359a5
commit
5dedb119d8
@ -118,9 +118,12 @@ void ftn_golded_nodelist_index::fetchdata() {
|
|||||||
read(fhx, buf, 255);
|
read(fhx, buf, 255);
|
||||||
if(*buf != ';') {
|
if(*buf != ';') {
|
||||||
|
|
||||||
|
/*
|
||||||
char* end = strchr(buf, '\r');
|
char* end = strchr(buf, '\r');
|
||||||
if(end)
|
if(end)
|
||||||
*end = NUL;
|
*end = NUL;
|
||||||
|
*/
|
||||||
|
strtok(buf,"\r\n");
|
||||||
|
|
||||||
data.unpack(buf);
|
data.unpack(buf);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user