From 5d9fcb30347e97471e5604828ef433683ca7a766 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 2 Jun 2004 07:08:01 +0000 Subject: [PATCH] attachserverproc-dont-dequeue-if-not-in-queue-20040602 FIXES 4699 can't see what else this can be. pile of details in the ticket. --- src/rx/rx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rx/rx.c b/src/rx/rx.c index 4155fe6d5..11b7e5d2c 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -3993,7 +3993,8 @@ rxi_AttachServerProc(register struct rx_call *call, MUTEX_ENTER(&rx_stats_mutex); rx_nWaiting--; MUTEX_EXIT(&rx_stats_mutex); - queue_Remove(call); + if (queue_IsOnQueue(call)) + queue_Remove(call); } call->state = RX_STATE_ACTIVE; call->mode = RX_MODE_RECEIVING; -- 2.39.5