فهرست منبع

spell fix "received"

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@818 f882894a-f735-0410-b71e-b25c423dba1c
Karl DeBisschop 22 سال پیش
والد
کامیت
c5f0ee256b
5فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 1 1
      contrib/check_dhcp.c
  2. 1 1
      plugins/check_snmp.c
  3. 1 1
      plugins/negate.c
  4. 2 2
      plugins/netutils.c
  5. 1 1
      plugins/urlize.c

+ 1 - 1
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 */
         /* make sure some data has arrived */
         if(!FD_ISSET(sock,&readfds)){
         if(!FD_ISSET(sock,&readfds)){
 #ifdef DEBUG
 #ifdef DEBUG
-                printf("No (more) data recieved\n");
+                printf("No (more) data received\n");
 #endif
 #endif
                 return ERROR;
                 return ERROR;
                 }
                 }

+ 1 - 1
plugins/check_snmp.c

@@ -319,7 +319,7 @@ main (int argc, char **argv)
 
 
 	if (found == 0)
 	if (found == 0)
 		die (STATE_UNKNOWN,
 		die (STATE_UNKNOWN,
-		     _("%s problem - No data recieved from host\nCMD: %s\n"),
+		     _("%s problem - No data received from host\nCMD: %s\n"),
 		     label,
 		     label,
 		     command_line);
 		     command_line);
 
 

+ 1 - 1
plugins/negate.c

@@ -105,7 +105,7 @@ main (int argc, char **argv)
 
 
 	if (!found)
 	if (!found)
 		die (STATE_UNKNOWN,
 		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);
 		     argv[0], command_line);
 
 
 	/* close the pipe */
 	/* close the pipe */

+ 2 - 2
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 (!FD_ISSET (sd, &readfds)) {	/* it hasn't */
 			if (!recv_length) {
 			if (!recv_length) {
 				strcpy (recv_buffer, "");
 				strcpy (recv_buffer, "");
-				printf ("No data was recieved from host!\n");
+				printf ("No data was received from host!\n");
 				result = STATE_WARNING;
 				result = STATE_WARNING;
 			}
 			}
 			else {										/* this one failed, but previous ones worked */
 			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 */
 	/* make sure some data has arrived */
 	if (!FD_ISSET (sd, &readfds)) {
 	if (!FD_ISSET (sd, &readfds)) {
 		strcpy (recv_buffer, "");
 		strcpy (recv_buffer, "");
-		printf ("No data was recieved from host!\n");
+		printf ("No data was received from host!\n");
 		result = STATE_WARNING;
 		result = STATE_WARNING;
 	}
 	}
 
 

+ 1 - 1
plugins/urlize.c

@@ -102,7 +102,7 @@ main (int argc, char **argv)
 
 
 	if (!found)
 	if (!found)
 		die (STATE_UNKNOWN,
 		die (STATE_UNKNOWN,
-		     _("%s problem - No data recieved from host\nCMD: %s</A>\n"),
+		     _("%s problem - No data received from host\nCMD: %s</A>\n"),
 		     argv[0], cmd);
 		     argv[0], cmd);
 
 
 	/* close the pipe */
 	/* close the pipe */