diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-10-09 15:43:25 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-10-09 15:43:25 +0200 |
commit | 8ddef48d1eade1911b946fdda8c73c80856e6273 (patch) | |
tree | 16ce889f491c643e75fe28870e049a181ac3b57e /src/channel.c | |
parent | 226630a030c0d41145e1109f09633360fc9c999d (diff) |
patch 8.0.0024v8.0.0024
Problem: When the netbeans channel closes, "DETACH" is put in the output
part. (Ozaki Kiichi)
Solution: Write "DETACH" in the socket part.
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c index d4ec60b75e..ba6e7ec955 100644 --- a/src/channel.c +++ b/src/channel.c @@ -3061,7 +3061,7 @@ channel_close_on_error(channel_T *channel, char *func) * Only send "DETACH" for a netbeans channel. */ if (channel->ch_nb_close_cb != NULL) - channel_save(channel, PART_OUT, (char_u *)DETACH_MSG_RAW, + channel_save(channel, PART_SOCK, (char_u *)DETACH_MSG_RAW, (int)STRLEN(DETACH_MSG_RAW), FALSE, "PUT "); /* When reading from stdout is not possible, assume the other side has |