commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 16/26: pflocal: fix message flags on receive


From: Samuel Thibault
Subject: [hurd] 16/26: pflocal: fix message flags on receive
Date: Sat, 02 Nov 2013 14:44:45 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 6a33dc6cb1546acf3c5db982e3f44b41bff67b05
Author: Richard Braun <address@hidden>
Date:   Fri Oct 18 01:16:08 2013 +0200

    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.
---
 pflocal/socket.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pflocal/socket.c b/pflocal/socket.c
index c5c9735..7142c6e 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;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]