X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fplainfile.cpp;h=5b560c8effbb91a2c1e32f0c11364a2cfb827974;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;hp=6ae38aec687fc25c2389b167f9fe394a1baceaaa;hpb=b0c61b7f8b17d876c88347a96c246c47493140da;p=metaproxy-moved-to-github.git diff --git a/src/plainfile.cpp b/src/plainfile.cpp index 6ae38ae..5b560c8 100644 --- a/src/plainfile.cpp +++ b/src/plainfile.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2010 Index Data + Copyright (C) Index Data Metaproxy 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 @@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include -#include "util.hpp" +#include #define PLAINFILE_MAX_LINE 256 @@ -89,7 +89,7 @@ bool mp::PlainFile::getline(std::vector &args) m_p->close(); // might as well close it now return false; } - + m_p->lineno++; m_p->fh->getline(line_cstr, PLAINFILE_MAX_LINE-1); char first = line_cstr[0];