[Pkg-nagios-devel] nagios-plugins/debian/patches 16_check_smtp_protocolfix.dpatch, 1.2, 1.3

seanius at haydn.debian.org seanius at haydn.debian.org
Mon Oct 10 07:34:12 UTC 2005


Update of /cvsroot/pkg-nagios/nagios-plugins/debian/patches
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv23226/debian/patches

Modified Files:
	16_check_smtp_protocolfix.dpatch 
Log Message:
better error checking in check_smtp

Index: 16_check_smtp_protocolfix.dpatch
===================================================================
RCS file: /cvsroot/pkg-nagios/nagios-plugins/debian/patches/16_check_smtp_protocolfix.dpatch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- 16_check_smtp_protocolfix.dpatch	9 Oct 2005 23:08:38 -0000	1.2
+++ 16_check_smtp_protocolfix.dpatch	10 Oct 2005 07:34:08 -0000	1.3
@@ -5,9 +5,264 @@
 ## DP: No description.
 
 @DPATCH@
+diff -urNad nagios-plugins~/foo.patch nagios-plugins/foo.patch
+--- nagios-plugins~/foo.patch	2005-10-10 09:29:02.000000000 +0200
++++ nagios-plugins/foo.patch	2005-10-10 09:31:56.000000000 +0200
+@@ -25,17 +25,6 @@
+  		  }
+  		  if ( check_cert ) {
+  		    if ((server_cert = SSL_get_peer_certificate (ssl)) != NULL) {
+-@@ -425,6 +428,10 @@
[...1117 lines suppressed...]
++  return i;
++}
++
++int 
++my_close (void)
++{
++#ifdef HAVE_SSL
++  if (use_ssl == TRUE) {
++    SSL_shutdown (ssl);
++    SSL_free (ssl);
++    SSL_CTX_free (ctx);
++    return 0;
++  }
++  else {
++#endif
++    return close(sd);
++#ifdef HAVE_SSL
++  }
++#endif
++}




More information about the Pkg-nagios-devel mailing list