[nagiosplug] check_icmp: Minor whitespace/indentation fixes

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Wed Sep 4 22:40:28 CEST 2013


 Module: nagiosplug
 Branch: master
 Commit: 317d2896dc29d66357fe067226dce440aad010f9
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Wed Sep  4 22:28:50 2013 +0200
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=317d289

check_icmp: Minor whitespace/indentation fixes

---

 plugins-root/check_icmp.c |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index b6804d2..56685f8 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -480,7 +480,6 @@ main(int argc, char **argv)
 					usage_va("ICMP data length must be between: %d and %d",
 					         sizeof(struct icmp) + sizeof(struct icmp_ping_data),
 					         MAX_PING_DATA - 1);
-
 				break;
 			case 'i':
 				pkt_interval = get_timevar(optarg);
@@ -520,12 +519,12 @@ main(int argc, char **argv)
 			case 's': /* specify source IP address */
 				set_source_ip(optarg);
 				break;
-      case 'V':                 /* version */
-        print_revision (progname, NP_VERSION);
-        exit (STATE_OK);
-      case 'h':                 /* help */
-        print_help ();
-        exit (STATE_OK);
+			case 'V': /* version */
+				print_revision (progname, NP_VERSION);
+				exit (STATE_OK);
+			case 'h': /* help */
+				print_help ();
+				exit (STATE_OK);
 			}
 		}
 	}





More information about the Commits mailing list