diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/netutils.c b/plugins/netutils.c index 58b3fb4..8c5deb0 100644 --- a/plugins/netutils.c +++ b/plugins/netutils.c | |||
@@ -37,6 +37,7 @@ int econn_refuse_state = STATE_CRITICAL; | |||
37 | int was_refused = FALSE; | 37 | int was_refused = FALSE; |
38 | int address_family = AF_UNSPEC; | 38 | int address_family = AF_UNSPEC; |
39 | 39 | ||
40 | static int my_connect(const char *address, int port, int *sd, int proto); | ||
40 | /* handles socket timeouts */ | 41 | /* handles socket timeouts */ |
41 | void | 42 | void |
42 | socket_timeout_alarm_handler (int sig) | 43 | socket_timeout_alarm_handler (int sig) |
@@ -246,7 +247,7 @@ my_udp_connect (const char *host_name, int port, int *sd) | |||
246 | 247 | ||
247 | 248 | ||
248 | /* opens a tcp or udp connection to a remote host */ | 249 | /* opens a tcp or udp connection to a remote host */ |
249 | int | 250 | static int |
250 | my_connect (const char *host_name, int port, int *sd, int proto) | 251 | my_connect (const char *host_name, int port, int *sd, int proto) |
251 | { | 252 | { |
252 | struct addrinfo hints; | 253 | struct addrinfo hints; |
diff --git a/plugins/netutils.h b/plugins/netutils.h index c560f44..88a5162 100644 --- a/plugins/netutils.h +++ b/plugins/netutils.h | |||
@@ -47,7 +47,6 @@ int process_request (const char *address, int port, int proto, | |||
47 | 47 | ||
48 | int my_tcp_connect (const char *address, int port, int *sd); | 48 | int my_tcp_connect (const char *address, int port, int *sd); |
49 | int my_udp_connect (const char *address, int port, int *sd); | 49 | int my_udp_connect (const char *address, int port, int *sd); |
50 | int my_connect (const char *address, int port, int *sd, int proto); | ||
51 | 50 | ||
52 | int is_host (const char *); | 51 | int is_host (const char *); |
53 | int is_addr (const char *); | 52 | int is_addr (const char *); |