diff options
author | Damien Miller <djm@mindrot.org> | 2000-05-31 11:20:11 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-05-31 11:20:11 +1000 |
commit | 2f6a0ad191af2e0e67c66bdc5dfc84d9a97bf12c (patch) | |
tree | 3b25cc3ba9ed2ae288e33ee8dee5042cc4734020 /fake-socket.h | |
parent | 03934f2eefc991f2a0be253be8869cf8f39758bc (diff) |
- Cleanup of auth.c, login.c and fake-*
- Cleanup of auth-pam.c, save and print "account expired" error messages
Diffstat (limited to 'fake-socket.h')
-rw-r--r-- | fake-socket.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fake-socket.h b/fake-socket.h index e11ad44e..0e1624d1 100644 --- a/fake-socket.h +++ b/fake-socket.h @@ -5,10 +5,10 @@ #include "sys/types.h" #ifndef HAVE_STRUCT_SOCKADDR_STORAGE -#define _SS_MAXSIZE 128 /* Implementation specific max size */ -#define _SS_ALIGNSIZE (sizeof(int)) -#define _SS_PAD1SIZE (_SS_ALIGNSIZE - sizeof(u_short)) -#define _SS_PAD2SIZE (_SS_MAXSIZE - (sizeof(u_short) + \ +# define _SS_MAXSIZE 128 /* Implementation specific max size */ +# define _SS_ALIGNSIZE (sizeof(int)) +# define _SS_PAD1SIZE (_SS_ALIGNSIZE - sizeof(u_short)) +# define _SS_PAD2SIZE (_SS_MAXSIZE - (sizeof(u_short) + \ _SS_PAD1SIZE + _SS_ALIGNSIZE)) struct sockaddr_storage { @@ -20,7 +20,7 @@ struct sockaddr_storage { #endif /* !HAVE_STRUCT_SOCKADDR_STORAGE */ #ifndef IN6_IS_ADDR_LOOPBACK -#define IN6_IS_ADDR_LOOPBACK(a) \ +# define IN6_IS_ADDR_LOOPBACK(a) \ (((u_int32_t *) (a))[0] == 0 && ((u_int32_t *) (a))[1] == 0 && \ ((u_int32_t *) (a))[2] == 0 && ((u_int32_t *) (a))[3] == htonl (1)) #endif /* !IN6_IS_ADDR_LOOPBACK */ |