From 9122b04d599f34f0dbdf9b5f1ce00374e3834776 Mon Sep 17 00:00:00 2001 From: drochner Date: Wed, 22 Oct 2003 15:40:19 +0000 Subject: [PATCH] the last argument to recvfrom() is a pointer, so use "NULL" for consistency --- lib/libc/net/recv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/net/recv.c b/lib/libc/net/recv.c index 42992d905898..0b1d5d7bc7e8 100644 --- a/lib/libc/net/recv.c +++ b/lib/libc/net/recv.c @@ -1,4 +1,4 @@ -/* $NetBSD: recv.c,v 1.8 2003/08/07 16:43:12 agc Exp $ */ +/* $NetBSD: recv.c,v 1.9 2003/10/22 15:40:19 drochner Exp $ */ /* * Copyright (c) 1988, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)recv.c 8.2 (Berkeley) 2/21/94"; #else -__RCSID("$NetBSD: recv.c,v 1.8 2003/08/07 16:43:12 agc Exp $"); +__RCSID("$NetBSD: recv.c,v 1.9 2003/10/22 15:40:19 drochner Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -49,5 +49,5 @@ recv(s, buf, len, flags) size_t len; void *buf; { - return (recvfrom(s, buf, len, flags, NULL, 0)); + return (recvfrom(s, buf, len, flags, NULL, NULL)); }