summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanijel Tasov <m@rbfh.de>2023-10-04 11:56:23 +0200
committerDanijel Tasov <m@rbfh.de>2023-10-04 11:56:23 +0200
commitdfa5aa4b83c33ed6b609e7f79ebe1f03507b679c (patch)
tree61593a698399810362c1dc53e2c352493262a3db
parent1f49981982cb47227457f8b37997f5639fceb778 (diff)
downloadmonitoring-plugins-dfa5aa4b83c33ed6b609e7f79ebe1f03507b679c.tar.gz
unnecessary space
Signed-off-by: Danijel Tasov <m@rbfh.de>
-rw-r--r--plugins-root/check_icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 246b4665..0401788c 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -1781,7 +1781,7 @@ get_timevar(const char *str)
1781 else if(u == 's') factor = 1000000; /* seconds */ 1781 else if(u == 's') factor = 1000000; /* seconds */
1782 if(debug > 2) printf("factor is %u\n", factor); 1782 if(debug > 2) printf("factor is %u\n", factor);
1783 1783
1784 i = strtoul(str, &ptr, 0); 1784 i = strtoul(str, &ptr, 0);
1785 if(!ptr || *ptr != '.' || strlen(ptr) < 2 || factor == 1) 1785 if(!ptr || *ptr != '.' || strlen(ptr) < 2 || factor == 1)
1786 return i * factor; 1786 return i * factor;
1787 1787