diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-01 12:29:27 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-01-01 12:29:27 +0100 |
commit | ca4060154f5fa70e2fc140df4a0dee24ea15ba6a (patch) | |
tree | 3abcefa08bc9bb17873f75d25b3fb5c35a466aa5 /trans/password.c | |
parent | c49ab7f2bee8f4452a7230367abc669fd4baa08b (diff) | |
download | hurd-ca4060154f5fa70e2fc140df4a0dee24ea15ba6a.tar.gz hurd-ca4060154f5fa70e2fc140df4a0dee24ea15ba6a.tar.bz2 hurd-ca4060154f5fa70e2fc140df4a0dee24ea15ba6a.zip |
trans: Drop spurious deref
That was a remnant of manual port lookup.
Diffstat (limited to 'trans/password.c')
-rw-r--r-- | trans/password.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/trans/password.c b/trans/password.c index 2777b43d..a95bc463 100644 --- a/trans/password.c +++ b/trans/password.c @@ -160,10 +160,7 @@ S_password_check_user (struct trivfs_protid *cred, uid_t user, const_string_t pw if (cred->pi.bucket != port_bucket || cred->pi.class != trivfs_protid_class) - { - ports_port_deref (cred); - return EOPNOTSUPP; - } + return EOPNOTSUPP; /* Verify password. */ err = ugids_add_user (&ugids, user, 1); |