aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/event/stream.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-07-27 00:30:57 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-08-21 01:04:28 +0200
commite006b1d98d92aead6aff565ed5d8b034772aa16c (patch)
treeaba1db19cb1f16aca53fc781bb5eb5a2ff33e1ce /src/nvim/event/stream.c
parent8d1ccb606d3806dcf9c4bcfdb0446d8139c0e765 (diff)
downloadrneovim-e006b1d98d92aead6aff565ed5d8b034772aa16c.tar.gz
rneovim-e006b1d98d92aead6aff565ed5d8b034772aa16c.tar.bz2
rneovim-e006b1d98d92aead6aff565ed5d8b034772aa16c.zip
log: some DEBUG-level stream logging
Diffstat (limited to 'src/nvim/event/stream.c')
-rw-r--r--src/nvim/event/stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/event/stream.c b/src/nvim/event/stream.c
index 60ceff9b24..7c865bfe1e 100644
--- a/src/nvim/event/stream.c
+++ b/src/nvim/event/stream.c
@@ -7,6 +7,7 @@
#include <uv.h>
+#include "nvim/log.h"
#include "nvim/rbuffer.h"
#include "nvim/macros.h"
#include "nvim/event/stream.h"
@@ -81,6 +82,7 @@ void stream_close(Stream *stream, stream_close_cb on_stream_close, void *data)
FUNC_ATTR_NONNULL_ARG(1)
{
assert(!stream->closed);
+ DLOG("closing Stream: %p", stream);
stream->closed = true;
stream->close_cb = on_stream_close;
stream->close_cb_data = data;