summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/netutils.c b/plugins/netutils.c
index f5e7dff..7ae9722 100644
--- a/plugins/netutils.c
+++ b/plugins/netutils.c
@@ -253,9 +253,7 @@ np_net_connect (const char *host_name, int port, int *sd, int proto)
253 else if (was_refused) { 253 else if (was_refused) {
254 switch (econn_refuse_state) { /* a user-defined expected outcome */ 254 switch (econn_refuse_state) { /* a user-defined expected outcome */
255 case STATE_OK: 255 case STATE_OK:
256 case STATE_WARNING: /* user wants WARN or OK on refusal, stay quiet */ 256 case STATE_WARNING: /* user wants WARN or OK on refusal, or... */
257 return STATE_CRITICAL;
258 break;
259 case STATE_CRITICAL: /* user did not set econn_refuse_state, or wanted critical */ 257 case STATE_CRITICAL: /* user did not set econn_refuse_state, or wanted critical */
260 printf ("%s\n", strerror(errno)); 258 printf ("%s\n", strerror(errno));
261 return STATE_CRITICAL; 259 return STATE_CRITICAL;