This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to annotated tag upstream/hurd/0.5.git20150208 in repository hurd.
commit 2d371a0b01054843f294a6c5ff401bd2093604a4 Author: Justus Winter <4win...@informatik.uni-hamburg.de> Date: Fri Jan 2 21:53:08 2015 +0100 auth: simplify expression * auth/auth.c (S_auth_{user,server}_authenticate): Simplify expression. --- auth/auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/auth.c b/auth/auth.c index c36bcb2..a7a188a 100644 --- a/auth/auth.c +++ b/auth/auth.c @@ -299,7 +299,7 @@ S_auth_user_authenticate (struct authhandle *userauth, if (! userauth) return EOPNOTSUPP; - if (rendezvous == MACH_PORT_NULL || rendezvous == MACH_PORT_DEAD) + if (! MACH_PORT_VALID (rendezvous)) return EINVAL; u.user = userauth; @@ -380,7 +380,7 @@ S_auth_server_authenticate (struct authhandle *serverauth, if (! serverauth) return EOPNOTSUPP; - if (rendezvous == MACH_PORT_NULL || rendezvous == MACH_PORT_DEAD) + if (! MACH_PORT_VALID (rendezvous)) return EINVAL; pthread_mutex_lock (&pending_lock); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git