mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 06:56:58 +00:00
Rename struct hdrtype to msgtype which is a better name and can be used even
when struct hdr disappears.
This commit is contained in:
@ -58,7 +58,7 @@ server_write_error(struct client *c, const char *msg)
|
||||
|
||||
void
|
||||
server_write_client(
|
||||
struct client *c, enum hdrtype type, const void *buf, size_t len)
|
||||
struct client *c, enum msgtype type, const void *buf, size_t len)
|
||||
{
|
||||
struct hdr hdr;
|
||||
|
||||
@ -74,7 +74,7 @@ server_write_client(
|
||||
|
||||
void
|
||||
server_write_session(
|
||||
struct session *s, enum hdrtype type, const void *buf, size_t len)
|
||||
struct session *s, enum msgtype type, const void *buf, size_t len)
|
||||
{
|
||||
struct client *c;
|
||||
u_int i;
|
||||
|
Reference in New Issue
Block a user