[Nagiosplug-checkins] nagiosplug/plugins check_http.c,1.82,1.83
    M. Sean Finney 
    seanius at users.sourceforge.net
       
    Wed Oct 19 06:08:25 CEST 2005
    
        - Previous message: [Nagiosplug-checkins] nagiosplug/plugins-root Makefile.am,1.3,1.4
- Next message: [Nagiosplug-checkins] nagiosplug/plugins check_http.c,1.83,1.84 check_smtp.c,1.48,1.49 check_tcp.c,1.68,1.69 netutils.c,1.25,1.26 netutils.h,1.13,1.14
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
  
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4878
Modified Files:
	check_http.c 
Log Message:
endif was a few lines off of where it should be
Index: check_http.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_http.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- check_http.c	19 Oct 2005 12:59:55 -0000	1.82
+++ check_http.c	19 Oct 2005 13:05:41 -0000	1.83
@@ -801,16 +801,15 @@
 		if (connect_SSL () != OK) {
 			die (STATE_CRITICAL, _("Unable to open TCP socket\n"));
 		}
-#ifdef USE_OPENSSL
+#  ifdef USE_OPENSSL
 		if ((server_cert = SSL_get_peer_certificate (ssl)) != NULL) {
 			X509_free (server_cert);
 		}
-#endif
 		else {
 			printf (_("CRITICAL - Cannot retrieve server certificate.\n"));
 			return STATE_CRITICAL;
 		}
-
+#  endif /* USE_OPENSSL */
 	}
 	else {
 #endif
    
    
        
	- Previous message: [Nagiosplug-checkins] nagiosplug/plugins-root Makefile.am,1.3,1.4
- Next message: [Nagiosplug-checkins] nagiosplug/plugins check_http.c,1.83,1.84 check_smtp.c,1.48,1.49 check_tcp.c,1.68,1.69 netutils.c,1.25,1.26 netutils.h,1.13,1.14
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
More information about the Commits
mailing list