From c4557301414f802295a8ede3bfcb69d671131993 Mon Sep 17 00:00:00 2001 From: mjl Date: Sat, 20 Jul 2002 14:18:45 +0000 Subject: [PATCH] Correct #ifdef'ed out usage of memset --- lib/libwrap/socket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libwrap/socket.c b/lib/libwrap/socket.c index 61905c1eecaa..b85c46ed9b13 100644 --- a/lib/libwrap/socket.c +++ b/lib/libwrap/socket.c @@ -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 @@ struct request_info *request; return; /* give up */ } #ifdef really_paranoid - memset(buf, 0 sizeof(buf)); + memset(buf, 0, sizeof(buf)); #endif } request->client->sin = (struct sockaddr *)&client;