*** remote_worker.c	2006-01-07 02:07:47.000000000 +0900
--- remote_worker.c.new	2006-03-20 17:28:05.000000000 +0900
***************
*** 337,346 ****
  		if (check_config)
  		{
  			rtcfg_lock();
! 			if (!node->no_active)
  				break;
  			if (node->worker_status != SLON_TSTAT_RUNNING)
  				break;
  
  			if (curr_config != rtcfg_seq_get())
  			{
--- 337,352 ----
  		if (check_config)
  		{
  			rtcfg_lock();
! 			if (!node->no_active) 
! 			{
! 	                        rtcfg_unlock();
  				break;
+ 			}
  			if (node->worker_status != SLON_TSTAT_RUNNING)
+ 			{
+                         	rtcfg_unlock();
  				break;
+ 			}
  
  			if (curr_config != rtcfg_seq_get())
  			{
