X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fplainfile.cpp;h=0f07882a54990821e5b34c8cdad7349775cb0090;hb=96a9d0598df0722dc31117fd4559bb4b23a2225e;hp=a96c2d6bc73ecf10bdb24815324eadbf694d676c;hpb=665559cbc22546e8df69be33a7d492294cab9fb1;p=metaproxy-moved-to-github.git diff --git a/src/plainfile.cpp b/src/plainfile.cpp index a96c2d6..0f07882 100644 --- a/src/plainfile.cpp +++ b/src/plainfile.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2008 Index Data + Copyright (C) 2005-2013 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];