summaryrefslogtreecommitdiff
path: root/bsd-rresvport.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-11-29 11:56:35 +1100
committerDamien Miller <djm@mindrot.org>2000-11-29 11:56:35 +1100
commit3f62abaee876bb4ef7450799cdee1081297aae51 (patch)
treef5a7cfa07969976a003761a662681f11bfccbc87 /bsd-rresvport.c
parenta2e53ccb64c42a635b4618b592e470a02c0142b0 (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.c2
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) {