|  | @@ -74,7 +74,7 @@ static int bind_service (const char *service, int family)
 | 
		
	
		
			
			| 74 | 74 |      flags = fcntl (sock, F_GETFL, 0);
 | 
		
	
		
			
			| 75 | 75 |      if (flags < 0) goto fail;
 | 
		
	
		
			
			| 76 | 76 |      if (fcntl(sock, F_SETFL, flags | O_NONBLOCK) < 0) goto fail;
 | 
		
	
		
			
			| 77 |  | -    continue;
 | 
		
	
		
			
			|  | 77 | +    break;
 | 
		
	
		
			
			| 78 | 78 |    fail:
 | 
		
	
		
			
			| 79 | 79 |      err = errno;
 | 
		
	
		
			
			| 80 | 80 |      if (sock >= 0) close (sock);
 | 
		
	
	
		
			
			|  | @@ -236,7 +236,7 @@ typedef void(*handle_t)(srs_t*, FILE*, const char*, const char*, const char**);
 | 
		
	
		
			
			| 236 | 236 |  
 | 
		
	
		
			
			| 237 | 237 |  int main (int argc, char **argv)
 | 
		
	
		
			
			| 238 | 238 |  {
 | 
		
	
		
			
			| 239 |  | -  int opt, timeout = 1800, family = AF_UNSPEC;
 | 
		
	
		
			
			|  | 239 | +  int opt, timeout = 1800, family = AF_INET;
 | 
		
	
		
			
			| 240 | 240 |    int daemonize = FALSE;
 | 
		
	
		
			
			| 241 | 241 |    char *forward_service = NULL, *reverse_service = NULL,
 | 
		
	
		
			
			| 242 | 242 |         *user = NULL, *domain = NULL, *chroot_dir = NULL;
 |