Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/net the last argument to recvfrom() is a pointer, s...
details: https://anonhg.NetBSD.org/src/rev/7ea397ca4f48
branches: trunk
changeset: 553888:7ea397ca4f48
user: drochner <drochner%NetBSD.org@localhost>
date: Wed Oct 22 15:40:19 2003 +0000
description:
the last argument to recvfrom() is a pointer, so use "NULL" for
consistency
diffstat:
lib/libc/net/recv.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r ae08bd52ea7c -r 7ea397ca4f48 lib/libc/net/recv.c
--- a/lib/libc/net/recv.c Wed Oct 22 15:38:31 2003 +0000
+++ b/lib/libc/net/recv.c Wed Oct 22 15:40:19 2003 +0000
@@ -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 @@
size_t len;
void *buf;
{
- return (recvfrom(s, buf, len, flags, NULL, 0));
+ return (recvfrom(s, buf, len, flags, NULL, NULL));
}
Home |
Main Index |
Thread Index |
Old Index