mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
digest_matches: actually use fd2 in place of fd as needed.
This commit is contained in:
parent
ff2d8464cf
commit
837f400ac8
@ -63,6 +63,7 @@ digest_matches(int fd, const char *path,
|
|||||||
/* No file, no match. */
|
/* No file, no match. */
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
fd = fd2;
|
||||||
}
|
}
|
||||||
|
|
||||||
TAILQ_FOREACH(digest, digests, entries) {
|
TAILQ_FOREACH(digest, digests, entries) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user