summaryrefslogtreecommitdiffstats
path: root/plugins/netutils.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-02-20 05:25:13 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-02-20 05:25:13 (GMT)
commitc5f0ee256bc9508e19b86003c5327ffafd2de28e (patch)
tree83091841ff915e980e80575cc229ad8774b20e11 /plugins/netutils.c
parent7ba54264fb8b614f0ea0bc9eab5c974e2dca7cd8 (diff)
downloadmonitoring-plugins-c5f0ee256bc9508e19b86003c5327ffafd2de28e.tar.gz
spell fix "received"
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@818 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/netutils.c')
-rw-r--r--plugins/netutils.c4
1 files changed, 2 insertions, 2 deletions
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,
121 if (!FD_ISSET (sd, &readfds)) { /* it hasn't */ 121 if (!FD_ISSET (sd, &readfds)) { /* it hasn't */
122 if (!recv_length) { 122 if (!recv_length) {
123 strcpy (recv_buffer, ""); 123 strcpy (recv_buffer, "");
124 printf ("No data was recieved from host!\n"); 124 printf ("No data was received from host!\n");
125 result = STATE_WARNING; 125 result = STATE_WARNING;
126 } 126 }
127 else { /* this one failed, but previous ones worked */ 127 else { /* this one failed, but previous ones worked */
@@ -197,7 +197,7 @@ process_request (const char *server_address, int server_port, int proto,
197 /* make sure some data has arrived */ 197 /* make sure some data has arrived */
198 if (!FD_ISSET (sd, &readfds)) { 198 if (!FD_ISSET (sd, &readfds)) {
199 strcpy (recv_buffer, ""); 199 strcpy (recv_buffer, "");
200 printf ("No data was recieved from host!\n"); 200 printf ("No data was received from host!\n");
201 result = STATE_WARNING; 201 result = STATE_WARNING;
202 } 202 }
203 203