saned: closed fd should cause poll list to be rebuilt.

User  Andrey Kovalev contributed this fix to deal with the assertion.
merge-requests/878/head
Ralph Little 2025-07-09 08:31:06 -07:00
rodzic edc3763f57
commit 16b85c639f
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -3384,6 +3384,7 @@ run_standalone (char *user)
else if (fd >= 0)
{
handle_client (fd);
poll_set_valid = SANE_FALSE; /* We will expect to add a pidfd */
if (run_once == SANE_TRUE)
running = SANE_FALSE; /* We have handled the only connection we're going to handle */
}