Commit 4916da25 authored by unknown's avatar unknown

Fixed test if thr_alarm() failed

parent 9b73c709
......@@ -437,7 +437,7 @@ static void my_net_skip_rest(NET *net, ulong remain, thr_alarm_t *alarmed,
uint retry_count=0;
if (!thr_alarm_in_use(alarmed))
{
if (!thr_alarm(alarmed,net->timeout,alarm_buff) ||
if (thr_alarm(alarmed,net->timeout,alarm_buff) ||
(!vio_is_blocking(net->vio) && vio_blocking(net->vio,TRUE) < 0))
return; /* Can't setup, abort */
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment