aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/channel.c
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-12-10 03:39:51 +0300
committerZyX <kp-pav@yandex.ru>2017-12-10 04:00:52 +0300
commit274f32d42e61e6f6c76b9ca499f5b79f256a481a (patch)
tree7fd0d14d76c17b92642133265cd6a9414b6948d8 /src/nvim/channel.c
parent49dd615693c9f6d86a180371abcd09d32ac8aeca (diff)
downloadrneovim-274f32d42e61e6f6c76b9ca499f5b79f256a481a.tar.gz
rneovim-274f32d42e61e6f6c76b9ca499f5b79f256a481a.tar.bz2
rneovim-274f32d42e61e6f6c76b9ca499f5b79f256a481a.zip
*: Start hiding list implementation
Most of files, except for eval.c and eval/* were only processed by perl.
Diffstat (limited to 'src/nvim/channel.c')
-rw-r--r--src/nvim/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/channel.c b/src/nvim/channel.c
index 40af470bde..ff8dbd3d33 100644
--- a/src/nvim/channel.c
+++ b/src/nvim/channel.c
@@ -673,7 +673,7 @@ static void on_channel_event(void **args)
argv[1].v_type = VAR_LIST;
argv[1].v_lock = VAR_UNLOCKED;
argv[1].vval.v_list = ev->received;
- argv[1].vval.v_list->lv_refcount++;
+ tv_list_ref(argv[1].vval.v_list);
} else {
argv[1].v_type = VAR_NUMBER;
argv[1].v_lock = VAR_UNLOCKED;