diff options
Diffstat (limited to 'common/stream.cpp')
-rw-r--r-- | common/stream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/stream.cpp b/common/stream.cpp index 07ca37555d..6737eafc9c 100644 --- a/common/stream.cpp +++ b/common/stream.cpp @@ -94,7 +94,7 @@ enum { CR = 0x0D }; -char *SeekableReadStream::readLine_NEW(char *buf, size_t bufSize) { +char *SeekableReadStream::readLine(char *buf, size_t bufSize) { assert(buf != 0 && bufSize > 1); char *p = buf; size_t len = 0; @@ -162,7 +162,7 @@ String SeekableReadStream::readLine() { String line; while (line.lastChar() != '\n') { char buf[256]; - if (!readLine_NEW(buf, 256)) + if (!readLine(buf, 256)) break; line += buf; } |