4
0
Эх сурвалжийг харах

Forgot to un-comment a line after testing

John C. Frickson 10 жил өмнө
parent
commit
e43ef0d24d

+ 1 - 1
src/check_nrpe.c

@@ -161,7 +161,7 @@ int main(int argc, char **argv){
 #endif /* HAVE_SIGACTION */
 #endif /* HAVE_SIGACTION */
 
 
 	/* set socket timeout */
 	/* set socket timeout */
-//	alarm(socket_timeout);
+	alarm(socket_timeout);
 
 
 	/* try to connect to the host at the given port number */
 	/* try to connect to the host at the given port number */
 	if((sd=my_connect(server_name, &hostaddr, server_port, address_family, 
 	if((sd=my_connect(server_name, &hostaddr, server_port, address_family,