From: Joan Lledó <[email protected]>

---
 pfinet/socket-ops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pfinet/socket-ops.c b/pfinet/socket-ops.c
index 0cd3ebeb..ce10682b 100644
--- a/pfinet/socket-ops.c
+++ b/pfinet/socket-ops.c
@@ -541,7 +541,7 @@ S_socket_recv (struct sock_user *user,
       *outflags = m.msg_flags;
       *nports = 0;
       *portstype = MACH_MSG_TYPE_COPY_SEND;
-      *controllen = m.msg_controllen;
+      *controllen -= m.msg_controllen;
     }
 
   return err;
-- 
2.50.1


Reply via email to