mirror of
https://github.com/tmux/tmux.git
synced 2025-09-05 08:07:03 +00:00
Instead of fixed size buffers for some messages, send only the string length.
This commit is contained in:
12
tmux.h
12
tmux.h
@ -487,22 +487,10 @@ struct msg_identify_data {
|
||||
int flags;
|
||||
};
|
||||
|
||||
struct msg_lock_data {
|
||||
char cmd[COMMAND_LENGTH];
|
||||
};
|
||||
|
||||
struct msg_environ_data {
|
||||
char var[ENVIRON_LENGTH];
|
||||
};
|
||||
|
||||
struct msg_shell_data {
|
||||
char shell[MAXPATHLEN];
|
||||
};
|
||||
|
||||
struct msg_exit_data {
|
||||
int retcode;
|
||||
};
|
||||
|
||||
struct msg_stdin_data {
|
||||
ssize_t size;
|
||||
char data[BUFSIZ];
|
||||
|
Reference in New Issue
Block a user