summaryrefslogtreecommitdiffstats
path: root/cmd-show-buffer.c
authortcunha <tcunha>2009-07-28 22:12:16 (GMT)
committer tcunha <tcunha>2009-07-28 22:12:16 (GMT)
commitad1947baaf8f2449eeda751dc7e9e88b6c44db41 (patch) (side-by-side diff)
tree7ee5a6194f659307baa7cdbe56e0605c9fe86bbd /cmd-show-buffer.c
parent012e86d5e4fdeae7a2c0dc911059a170902a6e96 (diff)
downloadtmux-old-ad1947baaf8f2449eeda751dc7e9e88b6c44db41.zip
tmux-old-ad1947baaf8f2449eeda751dc7e9e88b6c44db41.tar.gz
tmux-old-ad1947baaf8f2449eeda751dc7e9e88b6c44db41.tar.bz2
Sync OpenBSD patchset 181:
Make all messages sent between the client and server fixed size. This is the first of two changes to make the protocol more resilient and less sensitive to other changes in the code, particularly with commands. The client now packs argv into a buffer and sends it to the server for parsing, rather than doing it itself and sending the parsed command data. As a side-effect this also removes a lot of now-unused command marshalling code. Mixing a server without this change and a client with or vice versa will cause tmux to hang or crash, please ensure that tmux is entirely killed before upgrading.
Diffstat (limited to 'cmd-show-buffer.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-show-buffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd-show-buffer.c b/cmd-show-buffer.c
index 70cf20a..4467513 100644
--- a/cmd-show-buffer.c
+++ b/cmd-show-buffer.c
@@ -35,8 +35,6 @@ const struct cmd_entry cmd_show_buffer_entry = {
cmd_buffer_init,
cmd_buffer_parse,
cmd_show_buffer_exec,
- cmd_buffer_send,
- cmd_buffer_recv,
cmd_buffer_free,
cmd_buffer_print
};