increasing safety limit

This commit is contained in:
Damien Gasparina 2015-12-10 14:51:35 +00:00
parent 89c9c8567e
commit 8083378f59

View File

@ -68,8 +68,8 @@ function findHeaderEnd(lines) {
host = "";
dataIn = -1
// Let's browse only 10 lines, if there is more, it could mean it's not a valid file
for (i = 0; i < 10; i++) {
// Let's browse only 20 lines, if there is more, it could mean it's not a valid file
for (i = 0; i < 20; i++) {
line = lines[i].replace(/"/g, '').split(',');
if (line[0] == "Host:") {
host = line[1]