summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server-fn.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-07-29 14:17:27 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-07-29 14:17:27 +0000
commit9297d1c2ad086d16e7afa160d80765c36d6264f4 (patch)
tree78de8ffb1b267af3db5ad4441864fdd9d989b9b0 /usr.bin/tmux/server-fn.c
parent97f164c00b3cdd8bf2fc22be1c2100c9616fe019 (diff)
Rename struct hdrtype to msgtype which is a better name and can be used even
when struct hdr disappears.
Diffstat (limited to 'usr.bin/tmux/server-fn.c')
-rw-r--r--usr.bin/tmux/server-fn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/server-fn.c b/usr.bin/tmux/server-fn.c
index 22ba7eeefa6..50616517f5c 100644
--- a/usr.bin/tmux/server-fn.c
+++ b/usr.bin/tmux/server-fn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-fn.c,v 1.10 2009/07/26 12:58:44 nicm Exp $ */
+/* $OpenBSD: server-fn.c,v 1.11 2009/07/29 14:17:26 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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;