summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0d838e4)
raw | patch | inline | side by side (parent: 0d838e4)
author | M. Sean Finney <seanius@users.sourceforge.net> | |
Sat, 18 Mar 2006 14:47:51 +0000 (14:47 +0000) | ||
committer | M. Sean Finney <seanius@users.sourceforge.net> | |
Sat, 18 Mar 2006 14:47:51 +0000 (14:47 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1329 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_http.c | patch | blob | history |
diff --git a/plugins/check_http.c b/plugins/check_http.c
index b86b26463d0b59245e6437696daee6c7d95203d5..54e5ff29619fd55b502718135111253ccc59c20b 100644 (file)
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
np_net_ssl_init(sd);
if (check_cert == TRUE) {
result = np_net_ssl_check_cert(days_till_exp);
- if(result != STATE_OK){
- np_net_ssl_cleanup();
- if(sd) close(sd);
- return result;
- }
+ np_net_ssl_cleanup();
+ if(sd) close(sd);
+ return result;
}
}
#endif /* HAVE_SSL */