diff options
-rw-r--r-- | zhm/queue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zhm/queue.c b/zhm/queue.c index d026817..fd87546 100644 --- a/zhm/queue.c +++ b/zhm/queue.c @@ -259,10 +259,10 @@ struct sockaddr_in *sin; } srch->q_data->timeout = time((time_t *)0) + rexmit_times[srch->q_data->retries]; - srch = srch->q_forw; } + srch = srch->q_forw; } } while (srch != &hm_queue); - timeout_type = NOTICES; - (void)alarm(rexmit_times[0]); + if (timeout_type == NOTICES) + (void)alarm(rexmit_times[0]); } |