diff options
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r-- | plugins/check_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 6a216a5c..61a84f26 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -973,7 +973,7 @@ check_certificate (X509 ** certificate) | |||
973 | 973 | ||
974 | days_left = (mktime (&stamp) - time (NULL)) / 86400; | 974 | days_left = (mktime (&stamp) - time (NULL)) / 86400; |
975 | snprintf | 975 | snprintf |
976 | (timestamp, 16, "%02d/%02d/%04d %02d:%02d", | 976 | (timestamp, 17, "%02d/%02d/%04d %02d:%02d", |
977 | stamp.tm_mon + 1, | 977 | stamp.tm_mon + 1, |
978 | stamp.tm_mday, stamp.tm_year + 1900, stamp.tm_hour, stamp.tm_min); | 978 | stamp.tm_mday, stamp.tm_year + 1900, stamp.tm_hour, stamp.tm_min); |
979 | 979 | ||