Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libwrap Correct #ifdef'ed out usage of memset
details: https://anonhg.NetBSD.org/src/rev/3046633ae173
branches: trunk
changeset: 534295:3046633ae173
user: mjl <mjl%NetBSD.org@localhost>
date: Sat Jul 20 14:18:45 2002 +0000
description:
Correct #ifdef'ed out usage of memset
diffstat:
lib/libwrap/socket.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 218547a021f5 -r 3046633ae173 lib/libwrap/socket.c
--- a/lib/libwrap/socket.c Sat Jul 20 11:52:21 2002 +0000
+++ b/lib/libwrap/socket.c Sat Jul 20 14:18:45 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: socket.c,v 1.14 2002/06/07 01:39:07 itojun Exp $ */
+/* $NetBSD: socket.c,v 1.15 2002/07/20 14:18:45 mjl Exp $ */
/*
* This module determines the type of socket (datagram, stream), the client
@@ -22,7 +22,7 @@
#if 0
static char sccsid[] = "@(#) socket.c 1.15 97/03/21 19:27:24";
#else
-__RCSID("$NetBSD: socket.c,v 1.14 2002/06/07 01:39:07 itojun Exp $");
+__RCSID("$NetBSD: socket.c,v 1.15 2002/07/20 14:18:45 mjl Exp $");
#endif
#endif
@@ -109,7 +109,7 @@
return; /* give up */
}
#ifdef really_paranoid
- memset(buf, 0 sizeof(buf));
+ memset(buf, 0, sizeof(buf));
#endif
}
request->client->sin = (struct sockaddr *)&client;
Home |
Main Index |
Thread Index |
Old Index