From c5f0ee256bc9508e19b86003c5327ffafd2de28e Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Fri, 20 Feb 2004 05:25:13 +0000 Subject: [PATCH] spell fix "received" git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@818 f882894a-f735-0410-b71e-b25c423dba1c --- contrib/check_dhcp.c | 2 +- plugins/check_snmp.c | 2 +- plugins/negate.c | 2 +- plugins/netutils.c | 4 ++-- plugins/urlize.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/check_dhcp.c b/contrib/check_dhcp.c index 2aea579..7aa87ac 100644 --- a/contrib/check_dhcp.c +++ b/contrib/check_dhcp.c @@ -470,7 +470,7 @@ int receive_dhcp_packet(void *buffer, int buffer_size, int sock, int timeout, st /* make sure some data has arrived */ if(!FD_ISSET(sock,&readfds)){ #ifdef DEBUG - printf("No (more) data recieved\n"); + printf("No (more) data received\n"); #endif return ERROR; } diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 750c47e..b17a417 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c @@ -319,7 +319,7 @@ main (int argc, char **argv) if (found == 0) die (STATE_UNKNOWN, - _("%s problem - No data recieved from host\nCMD: %s\n"), + _("%s problem - No data received from host\nCMD: %s\n"), label, command_line); diff --git a/plugins/negate.c b/plugins/negate.c index 874aea1..3dd3411 100644 --- a/plugins/negate.c +++ b/plugins/negate.c @@ -105,7 +105,7 @@ main (int argc, char **argv) if (!found) die (STATE_UNKNOWN, - _("%s problem - No data recieved from host\nCMD: %s\n"),\ + _("%s problem - No data received from host\nCMD: %s\n"),\ argv[0], command_line); /* close the pipe */ diff --git a/plugins/netutils.c b/plugins/netutils.c index 8c5deb0..55f02ca 100644 --- a/plugins/netutils.c +++ b/plugins/netutils.c @@ -121,7 +121,7 @@ process_tcp_request2 (const char *server_address, int server_port, if (!FD_ISSET (sd, &readfds)) { /* it hasn't */ if (!recv_length) { strcpy (recv_buffer, ""); - printf ("No data was recieved from host!\n"); + printf ("No data was received from host!\n"); result = STATE_WARNING; } else { /* this one failed, but previous ones worked */ @@ -197,7 +197,7 @@ process_request (const char *server_address, int server_port, int proto, /* make sure some data has arrived */ if (!FD_ISSET (sd, &readfds)) { strcpy (recv_buffer, ""); - printf ("No data was recieved from host!\n"); + printf ("No data was received from host!\n"); result = STATE_WARNING; } diff --git a/plugins/urlize.c b/plugins/urlize.c index 45766d0..141cc84 100644 --- a/plugins/urlize.c +++ b/plugins/urlize.c @@ -102,7 +102,7 @@ main (int argc, char **argv) if (!found) die (STATE_UNKNOWN, - _("%s problem - No data recieved from host\nCMD: %s\n"), + _("%s problem - No data received from host\nCMD: %s\n"), argv[0], cmd); /* close the pipe */ -- 2.30.2