projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use yaz_log
[metaproxy-moved-to-github.git]
/
src
/
plainfile.cpp
diff --git
a/src/plainfile.cpp
b/src/plainfile.cpp
index
78fbb74
..
0f07882
100644
(file)
--- a/
src/plainfile.cpp
+++ b/
src/plainfile.cpp
@@
-1,5
+1,5
@@
/* This file is part of Metaproxy.
/* This file is part of Metaproxy.
- Copyright (C) 2005-2011 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
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
@@
-89,7
+89,7
@@
bool mp::PlainFile::getline(std::vector<std::string> &args)
m_p->close(); // might as well close it now
return false;
}
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];
m_p->lineno++;
m_p->fh->getline(line_cstr, PLAINFILE_MAX_LINE-1);
char first = line_cstr[0];