Rename struct hdrtype to msgtype which is a better name and can be used even

when struct hdr disappears.
This commit is contained in:
Nicholas Marriott
2009-07-29 14:17:26 +00:00
parent d3c461097b
commit c1d6d7ac6b
6 changed files with 15 additions and 15 deletions

View File

@ -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;