From 2247c0e499df70f2de1797e674ce1035514fc05c Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 4 Aug 2006 00:28:58 +0000 Subject: [PATCH] windows-smb-no-showerrors-20060803 pop up error dialogs prevent auto shutdown and restart of afsd service on network adapater error --- src/WINNT/afsd/smb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/WINNT/afsd/smb.c b/src/WINNT/afsd/smb.c index f2cf75211..fddf72359 100644 --- a/src/WINNT/afsd/smb.c +++ b/src/WINNT/afsd/smb.c @@ -125,7 +125,7 @@ int smb_hideDotFiles; /* global state about V3 protocols */ int smb_useV3; /* try to negotiate V3 */ -static showErrors = 1; +static showErrors = 0; /* MessageBox or something like it */ int (_stdcall *smb_MBfunc)(HWND, LPCTSTR, LPCTSTR, UINT) = NULL; @@ -7769,8 +7769,7 @@ void smb_Listener(void *parmp) if (showErrors) code = (*smb_MBfunc)(NULL, tbuffer, "AFS Client Service: Fatal Error", MB_OK|MB_SERVICE_NOTIFICATION); - osi_assert(tbuffer); - ExitThread(1); + osi_panic(tbuffer, __FILE__, __LINE__); } /* check for remote conns */ -- 2.39.5