diff options
author | Richard Braun <rbraun@sceen.net> | 2013-10-18 01:16:08 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-10-18 01:16:08 +0200 |
commit | 6a33dc6cb1546acf3c5db982e3f44b41bff67b05 (patch) | |
tree | 94a3a70046b22d14a8f0ad1d10a21b9fd402d98d /pflocal | |
parent | 2e5f5e3c6d3716aec736474a198de5f7746a5450 (diff) |
pflocal: fix message flags on receive
* pflocal/socket.c (S_socket_recv): Set the memory pointed by out_flags
to 0 instead of the pointer.
Diffstat (limited to 'pflocal')
-rw-r--r-- | pflocal/socket.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pflocal/socket.c b/pflocal/socket.c index c5c97352..7142c6ef 100644 --- a/pflocal/socket.c +++ b/pflocal/socket.c @@ -411,8 +411,7 @@ S_socket_recv (struct sock_user *user, *addr = MACH_PORT_NULL; } - /* Fill in OUT_FLAGS from from any corresponding ones in FLAGS. */ - out_flags = 0; + *out_flags = 0; return err; } |