summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1998-02-02 17:24:33 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1998-02-02 17:24:33 +0000
commit52e3ffcee21c2050b6d272c10f675c80ab406aa0 (patch)
tree98fb72db059fdddd50783ded64f1838c754a253d
parentf478951ed895418b67b226bcf88bb4a278f43a32 (diff)
When processing a queue entry's timer, set it to NULL so that it
doesn't accidentally get reset in new_server().
-rw-r--r--zhm/queue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zhm/queue.c b/zhm/queue.c
index 70de938..a2b054e 100644
--- a/zhm/queue.c
+++ b/zhm/queue.c
@@ -220,6 +220,7 @@ static void queue_timeout(arg)
Queue *entry = (Queue *) arg;
Code_t ret;
+ entry->timer = NULL;
ret = ZSetDestAddr(&serv_sin);
if (ret != ZERR_NONE) {
Zperr(ret);