summaryrefslogtreecommitdiffstats
path: root/plugins/netutils.c
diff options
context:
space:
mode:
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 8c5deb04..55f02cad 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