diff options
author | 2002-06-13 06:58:57 +0000 | |
---|---|---|
committer | 2002-06-13 06:58:57 +0000 | |
commit | dbd852158ed31c852ddafe9fa780ff0fef72dcec (patch) | |
tree | fe7f53b4fcfcd9daa3a220f7ce5434a5f557e309 | |
parent | Fixed some lpd bugs while on the plane from Calgary: (diff) | |
download | wireguard-openbsd-dbd852158ed31c852ddafe9fa780ff0fef72dcec.tar.xz wireguard-openbsd-dbd852158ed31c852ddafe9fa780ff0fef72dcec.zip |
si_len should be u_int8_t, not socklen_t; form@form.openbsd.ru
-rw-r--r-- | libexec/ftpd/extern.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ftpd/extern.h b/libexec/ftpd/extern.h index 49a9083b0e8..cf5737b0a32 100644 --- a/libexec/ftpd/extern.h +++ b/libexec/ftpd/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.9 2002/06/13 06:40:28 deraadt Exp $ */ +/* $OpenBSD: extern.h,v 1.10 2002/06/13 06:58:57 millert Exp $ */ /* $NetBSD: extern.h,v 1.2 1995/04/11 02:44:49 cgd Exp $ */ /* @@ -108,9 +108,9 @@ int yyparse(void); union sockunion { struct sockinet { - u_char si_len; - u_char si_family; - u_short si_port; + u_int8_t si_len; + sa_family_t si_family; + in_port_t si_port; } su_si; struct sockaddr_in su_sin; struct sockaddr_in6 su_sin6; |