diff options
-rw-r--r-- | plugins-root/check_icmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index ecf3d08..cba7c44 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -1035,7 +1035,7 @@ get_timevaldiff(struct timeval *early, struct timeval *later) | |||
1035 | if(!early) early = &prog_start; | 1035 | if(!early) early = &prog_start; |
1036 | 1036 | ||
1037 | /* if early > later we return 0 so as to indicate a timeout */ | 1037 | /* if early > later we return 0 so as to indicate a timeout */ |
1038 | if(early->tv_sec > early->tv_sec || | 1038 | if(early->tv_sec > later->tv_sec || |
1039 | (early->tv_sec == later->tv_sec && early->tv_usec > later->tv_usec)) | 1039 | (early->tv_sec == later->tv_sec && early->tv_usec > later->tv_usec)) |
1040 | { | 1040 | { |
1041 | return 0; | 1041 | return 0; |