comparison src/channel.c @ 8607:d762390fb27b v7.4.1593

commit https://github.com/vim/vim/commit/a889cf4642a89537e3eeecf6d30326bf6aa4776f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 19 13:49:43 2016 +0100 patch 7.4.1593 Problem: Using channel timeout instead of request timeout. (Coverity) Solution: Remove the extra assignment.
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Mar 2016 14:00:04 +0100
parents 556817999955
children d80edead9675
comparison
equal deleted inserted replaced
8606:93cd67687c88 8607:d762390fb27b
2682 { 2682 {
2683 if (opt.jo_set & JO_TIMEOUT) 2683 if (opt.jo_set & JO_TIMEOUT)
2684 timeout = opt.jo_timeout; 2684 timeout = opt.jo_timeout;
2685 else 2685 else
2686 timeout = channel_get_timeout(channel, part_read); 2686 timeout = channel_get_timeout(channel, part_read);
2687 timeout = channel_get_timeout(channel, part_read);
2688 if (channel_read_json_block(channel, part_read, timeout, id, &listtv) 2687 if (channel_read_json_block(channel, part_read, timeout, id, &listtv)
2689 == OK) 2688 == OK)
2690 { 2689 {
2691 list_T *list = listtv->vval.v_list; 2690 list_T *list = listtv->vval.v_list;
2692 2691