Sync OpenBSD patchset 196:

Rename struct hdrtype to msgtype which is a better name and can be used even
when struct hdr disappears.
This commit is contained in:
Tiago Cunha
2009-07-30 20:21:55 +00:00
parent 5a9b7b230c
commit 6fbfcfc0d7
6 changed files with 21 additions and 21 deletions

View File

@ -1,4 +1,4 @@
/* $Id: server-fn.c,v 1.77 2009-07-28 22:12:16 tcunha Exp $ */
/* $Id: server-fn.c,v 1.78 2009-07-30 20:21:55 tcunha 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;