summaryrefslogtreecommitdiffstats
path: root/plugins/netutils.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-02-20 05:25:13 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2004-02-20 05:25:13 +0000
commit6df5e5c4cd1457b688cc881ed91230b7c59e0eb0 (patch)
tree72acf7a209ce13a01cf2ee0a542cffbfc613a49d /plugins/netutils.c
parent81b268b078f31329610ec1b9b8fff15d92574a48 (diff)
downloadmonitoring-plugins-6df5e5c4cd1457b688cc881ed91230b7c59e0eb0.tar.gz
spell fix "received"
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@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 e5d35281..32d10b4c 100644
--- a/plugins/netutils.c
+++ b/plugins/netutils.c
@@ -138,7 +138,7 @@ process_tcp_request2 (char *server_address,
138 if (!FD_ISSET (sd, &readfds)) { /* it hasn't */ 138 if (!FD_ISSET (sd, &readfds)) { /* it hasn't */
139 if (!recv_length) { 139 if (!recv_length) {
140 strcpy (recv_buffer, ""); 140 strcpy (recv_buffer, "");
141 printf ("No data was recieved from host!\n"); 141 printf ("No data was received from host!\n");
142 result = STATE_WARNING; 142 result = STATE_WARNING;
143 } 143 }
144 else { /* this one failed, but previous ones worked */ 144 else { /* this one failed, but previous ones worked */
@@ -210,7 +210,7 @@ process_request (char *server_address,
210 /* make sure some data has arrived */ 210 /* make sure some data has arrived */
211 if (!FD_ISSET (sd, &readfds)) { 211 if (!FD_ISSET (sd, &readfds)) {
212 strcpy (recv_buffer, ""); 212 strcpy (recv_buffer, "");
213 printf ("No data was recieved from host!\n"); 213 printf ("No data was received from host!\n");
214 result = STATE_WARNING; 214 result = STATE_WARNING;
215 } 215 }
216 216