]> git.ipfire.org Git - thirdparty/cups.git/commit
dest.c: Fix infinite loop in `cups_enum_dests()`
authorZdenek Dohnal <zdohnal@redhat.com>
Thu, 4 Jan 2024 12:33:04 +0000 (13:33 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Fri, 5 Jan 2024 05:27:08 +0000 (06:27 +0100)
commitadd9975420368b7c89591b06b3d2081a5418fdb5
treed15b24327fb38708847527b8ea617fcba478554d
parentd1a3f22e60662d743fbfd2ebe72f622c4d6bca5e
dest.c: Fix infinite loop in `cups_enum_dests()`

Update remaining time after `usleep()`, otherwise there is no difference
in elapsed time, so `remaining` will never be less or equal to 0.

Fixes CI on Linux
cups/dest.c