summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index ecd832f..c36d916 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -881,7 +881,7 @@ check_http (void)
881 gettimeofday (&tv_temp, NULL); 881 gettimeofday (&tv_temp, NULL);
882 result = np_net_ssl_init_with_hostname_version_and_cert(sd, (use_sni ? host_name : NULL), ssl_version, client_cert, client_privkey); 882 result = np_net_ssl_init_with_hostname_version_and_cert(sd, (use_sni ? host_name : NULL), ssl_version, client_cert, client_privkey);
883 if (result != STATE_OK) 883 if (result != STATE_OK)
884 return result; 884 die (STATE_CRITICAL, NULL);
885 microsec_ssl = deltime (tv_temp); 885 microsec_ssl = deltime (tv_temp);
886 elapsed_time_ssl = (double)microsec_ssl / 1.0e6; 886 elapsed_time_ssl = (double)microsec_ssl / 1.0e6;
887 if (check_cert == TRUE) { 887 if (check_cert == TRUE) {