commit | e9d6a298df6108e2044b1f0da5a2712f0c51c7d9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Mar 20 19:31:33 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Mar 20 19:31:33 2016 +0100 |
tree | 57f9e821c4878c979bd1d353875d5516875da220 | |
parent | 17b56c9f8327e6869580e3cfd82efcf8966d797a [diff] [blame] |
patch 7.4.1623 Problem: All Channels share the message ID, it keeps getting bigger. Solution: Use a message ID per channel.
diff --git a/src/structs.h b/src/structs.h index 470beff..85223a0 100644 --- a/src/structs.h +++ b/src/structs.h
@@ -1380,6 +1380,7 @@ channel_T *ch_prev; int ch_id; /* ID of the channel */ + int ch_last_msg_id; /* ID of the last message */ chanpart_T ch_part[4]; /* info for socket, out, err and in */