From 6dae53168fad352094f1e0b80e2ceefd27ae8fe9 Mon Sep 17 00:00:00 2001 From: Hartmut Reuter Date: Fri, 19 Apr 2002 04:50:32 +0000 Subject: [PATCH] avoid case where we never come out of loop attempting to clear host callbacks (cherry picked from commit b7b178842458b274f9e5d45dbd1bb50826a3d58a) --- src/viced/callback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/viced/callback.c b/src/viced/callback.c index 78ea70131..2e9b02941 100644 --- a/src/viced/callback.c +++ b/src/viced/callback.c @@ -1417,6 +1417,7 @@ static int GetSomeSpace_r(hostp, locked) cbstuff.GSS4++; if ( ! ClearHostCallbacks_r(hp, 0 /* not locked or held */) ) return; + hp1 = hp; } else { hp1 = hostp; cbstuff.GSS1++; -- 2.39.5