Justus Winter, le Sat 17 Jan 2015 18:26:44 +0100, a écrit : > * auth/auth.c (S_auth_{user,server}_authenticate): Simplify expression.
Ack, thanks! > --- > 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); > -- > 2.1.4 > -- Samuel <s> bah, j'aime bien les feux d'artifices, mais j'ai peur de me prendre un boeing sur le coin de la gueule si je vais sur le pont de brooklyn -+- #ens-mim - 11 septembre forever -+-