You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you make a sleep in a loop before calling mosquitto_loop it is possible that now is greater than mosq->next_msg_out which result in a negative value for timeout. Then, pselect will fail with a EINVAL error. Should'nt we add timeout = timeout < 0 ? 0 : timeout inside the if block ?
The text was updated successfully, but these errors were encountered:
If you make a sleep in a loop before calling
mosquitto_loop
it is possible thatnow
is greater thanmosq->next_msg_out
which result in a negative value fortimeout
. Then,pselect
will fail with aEINVAL
error. Should'nt we addtimeout = timeout < 0 ? 0 : timeout
inside the if block ?The text was updated successfully, but these errors were encountered: