artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8495c4b
)
Last arg is also a pointer, so pass NULL instead of 0; ok deraadt@
author
otto
<otto@openbsd.org>
Sat, 25 Mar 2023 19:16:34 +0000
(19:16 +0000)
committer
otto
<otto@openbsd.org>
Sat, 25 Mar 2023 19:16:34 +0000
(19:16 +0000)
lib/libc/net/recv.c
patch
|
blob
|
history
diff --git
a/lib/libc/net/recv.c
b/lib/libc/net/recv.c
index
365d0e2
..
1488ca2
100644
(file)
--- a/
lib/libc/net/recv.c
+++ b/
lib/libc/net/recv.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: recv.c,v 1.
6 2015/10/04 07:17:27 guenther
Exp $ */
+/* $OpenBSD: recv.c,v 1.
7 2023/03/25 19:16:34 otto
Exp $ */
/*
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
@@
-36,6
+36,6
@@
ssize_t
recv(int s, void *buf, size_t len, int flags)
{
- return (recvfrom(s, buf, len, flags, NULL,
0
));
+ return (recvfrom(s, buf, len, flags, NULL,
NULL
));
}
DEF_WEAK(recv);