From 57573f555e910c3df41875f2069129be2bc9ba65 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 18 Oct 2004 04:31:26 +0000 Subject: [PATCH] STABLE12-attachserverproc-dont-dequeue-if-not-in-queue-20040602 FIXES 4699 can't see what else this can be. pile of details in the ticket. (cherry picked from commit 5d9fcb30347e97471e5604828ef433683ca7a766) --- 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 d8ca3f800..cc11cb3d6 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -3992,7 +3992,8 @@ rxi_AttachServerProc(call, socket, tnop, newcallp) 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