From: David ‘Bombe’ Roden Date: Sat, 5 Jul 2008 19:32:53 +0000 (+0200) Subject: improve log message X-Git-Tag: 0.1~24 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=76e8ba9df24e289a8e924031fb4208ab2838a483;p=ecparse.git improve log message --- diff --git a/GrowingBuffer.cpp b/GrowingBuffer.cpp index b1c5dbc..3de12fc 100644 --- a/GrowingBuffer.cpp +++ b/GrowingBuffer.cpp @@ -72,7 +72,7 @@ void GrowingBuffer::write(const void* buffer, size_t length) { } void GrowingBuffer::cut() { - GlobalSettings::isVerbose() && fprintf(stderr, "[%s:%d] discarding %d bytes.\n", __FILE__, __LINE__, position); + GlobalSettings::isVerbose() && fprintf(stderr, "[%s:%d] discarding %d bytes, %d bytes remaining.\n", __FILE__, __LINE__, position, limit - position); memcpy(data, (char*) data + position, position); limit -= position; position = 0;