mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 14:46:57 -04:00
unnecessary space
Signed-off-by: Danijel Tasov <m@rbfh.de>
This commit is contained in:
parent
1f49981982
commit
dfa5aa4b83
1 changed files with 1 additions and 1 deletions
|
|
@ -1781,7 +1781,7 @@ get_timevar(const char *str)
|
|||
else if(u == 's') factor = 1000000; /* seconds */
|
||||
if(debug > 2) printf("factor is %u\n", factor);
|
||||
|
||||
i = strtoul(str, &ptr, 0);
|
||||
i = strtoul(str, &ptr, 0);
|
||||
if(!ptr || *ptr != '.' || strlen(ptr) < 2 || factor == 1)
|
||||
return i * factor;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue