X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fplainfile.cpp;h=5b560c8effbb91a2c1e32f0c11364a2cfb827974;hb=586d78659d671683f33ec55f4a7d32b28e345ccd;hp=576e455224f41834199e224c7437b399d555f152;hpb=e9530d6289df9b848e4901d7c73f5a2f27706d66;p=metaproxy-moved-to-github.git diff --git a/src/plainfile.cpp b/src/plainfile.cpp index 576e455..5b560c8 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) 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]; @@ -117,8 +117,9 @@ bool mp::PlainFile::getline(std::vector &args) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +