diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-01-09 00:50:29 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-01-09 00:50:29 +0000 |
commit | 0d5af6017e4549c8b622b505c6a7dd80b24df512 (patch) | |
tree | 71a17212ff1668a39c826fd64f1ecacdeba2f760 /bsd-rresvport.c | |
parent | 48bd7c118a25b950842864c7eb87ef666cbc342d (diff) |
- (bal) Detect if clock_t structure exists, if not define it.
- (bal) Detect if O_NONBLOCK exists, if not define it.
- (bal) removed news4-posix.h (now empty)
- (bal) changed bsd-bindresvport.c and bsd-rresvport.c to use 'socklen_t'
instead of 'int'
Diffstat (limited to 'bsd-rresvport.c')
-rw-r--r-- | bsd-rresvport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-rresvport.c b/bsd-rresvport.c index e8f822bf5..392768c02 100644 --- a/bsd-rresvport.c +++ b/bsd-rresvport.c | |||
@@ -59,7 +59,7 @@ rresvport_af(int *alport, sa_family_t af) | |||
59 | struct sockaddr *sa; | 59 | struct sockaddr *sa; |
60 | u_int16_t *portp; | 60 | u_int16_t *portp; |
61 | int s; | 61 | int s; |
62 | int salen; | 62 | socklen_t salen; |
63 | 63 | ||
64 | memset(&ss, '\0', sizeof ss); | 64 | memset(&ss, '\0', sizeof ss); |
65 | sa = (struct sockaddr *)&ss; | 65 | sa = (struct sockaddr *)&ss; |