diff options
author | Damien Miller <djm@mindrot.org> | 2000-11-29 11:56:35 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-11-29 11:56:35 +1100 |
commit | 3f62abaee876bb4ef7450799cdee1081297aae51 (patch) | |
tree | f5a7cfa07969976a003761a662681f11bfccbc87 /bsd-rresvport.c | |
parent | a2e53ccb64c42a635b4618b592e470a02c0142b0 (diff) |
- (djm) bsd-rresvport.c bzero -> memset
- (djm) Don't fail in defines.h on absence of 64 bit types (we will
still fail during compilation of sftp-server).
- (djm) Fail if ar is not found during configure
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 cda4c36aa..e8f822bf5 100644 --- a/bsd-rresvport.c +++ b/bsd-rresvport.c | |||
@@ -61,7 +61,7 @@ rresvport_af(int *alport, sa_family_t af) | |||
61 | int s; | 61 | int s; |
62 | int salen; | 62 | int salen; |
63 | 63 | ||
64 | bzero(&ss, sizeof ss); | 64 | memset(&ss, '\0', sizeof ss); |
65 | sa = (struct sockaddr *)&ss; | 65 | sa = (struct sockaddr *)&ss; |
66 | 66 | ||
67 | switch (af) { | 67 | switch (af) { |