From f9ad93899bcef7bc90f861baa098aacbe8f3c133 Mon Sep 17 00:00:00 2001 From: chombier <> Date: Wed, 28 Mar 2001 19:34:20 +0000 Subject: [PATCH] restart nameserver services for kOTProviderIsClosed message too --- GUSI/src/tangled/GUSIOTNetDB.cp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GUSI/src/tangled/GUSIOTNetDB.cp b/GUSI/src/tangled/GUSIOTNetDB.cp index c98d26d..4517a10 100755 --- a/GUSI/src/tangled/GUSIOTNetDB.cp +++ b/GUSI/src/tangled/GUSIOTNetDB.cp @@ -53,10 +53,10 @@ pascal void GUSIOTNetDBNotify( } break; default: + if (code == kOTProviderIsClosed) + netdb->fCreationContext = nil; // Close & reopen if (code != kOTProviderWillClose) result = 0; - else - netdb->fCreationContext = nil; // Close & reopen break; } if (result)