[Pkg-wmaker-commits] [wmbiff] 01/14: Small debugging message to help if a connection ends unexpectedly.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:00:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to tag wmbiff_0_3_4
in repository wmbiff.
commit c0151f633d2d4d0bae0bf23947059ff1c602c2e2
Author: bluehal <bluehal>
Date: Fri Nov 2 08:48:12 2001 +0000
Small debugging message to help if a connection
ends unexpectedly.
---
wmbiff/tlsComm.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/wmbiff/tlsComm.c b/wmbiff/tlsComm.c
index d2a341a..143ab50 100644
--- a/wmbiff/tlsComm.c
+++ b/wmbiff/tlsComm.c
@@ -49,6 +49,11 @@ void handle_gnutls_read_error(int readbytes, struct connection_state *scs);
void tlscomm_close(struct connection_state *scs)
{
+#ifdef DEBUG_COMM
+ fprintf(stderr, "%s: closing.\n",
+ (scs->name != NULL) ? scs->name : "null");
+#endif
+
/* not ok to call this more than once */
if (scs->state) {
#ifdef WITH_TLS
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git
More information about the Pkg-wmaker-commits
mailing list