aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-10-22 10:16:52 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-10-22 11:26:43 -0300
commit42334463447e884b9a1198be599d734fbe2d1eb7 (patch)
treed9735f85d20d043c0bab500f8fe902bde5cd5b46 /src
parent97f0c1eda19f5a2f8c13ba2cb1c8a1e60ed52c2d (diff)
downloadrneovim-42334463447e884b9a1198be599d734fbe2d1eb7.tar.gz
rneovim-42334463447e884b9a1198be599d734fbe2d1eb7.tar.bz2
rneovim-42334463447e884b9a1198be599d734fbe2d1eb7.zip
debug: Fix broken DLOG macro calls
Diffstat (limited to 'src')
-rw-r--r--src/nvim/os/rstream.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/os/rstream.c b/src/nvim/os/rstream.c
index 8cfd9d1b75..d96b3d931c 100644
--- a/src/nvim/os/rstream.c
+++ b/src/nvim/os/rstream.c
@@ -73,13 +73,14 @@ void rbuffer_consumed(RBuffer *rbuffer, size_t count)
void rbuffer_produced(RBuffer *rbuffer, size_t count)
{
rbuffer->wpos += count;
- DLOG("Received %u bytes from RStream(%p)", (size_t)cnt, rbuffer->rstream);
+ DLOG("Received %u bytes from RStream(%p)", (size_t)count, rbuffer->rstream);
rbuffer_relocate(rbuffer);
if (rbuffer->rstream && rbuffer->wpos == rbuffer->capacity) {
// The last read filled the buffer, stop reading for now
+ //
rstream_stop(rbuffer->rstream);
- DLOG("Buffer for RStream(%p) is full, stopping it", rstream);
+ DLOG("Buffer for RStream(%p) is full, stopping it", rbuffer->rstream);
}
}