summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-05-15 11:57:18 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-05-15 11:57:18 +0200
commite623b1a06bab31665c9185659dad7c7783229ac9 (patch)
tree73d138c8b1cc0bf1cadcdd51fba6cbe51606c0fd
parentd8b191a1f37ca3f5331afa25480d49612335b674 (diff)
downloadrsyslog-e623b1a06bab31665c9185659dad7c7783229ac9.tar.gz
rsyslog-e623b1a06bab31665c9185659dad7c7783229ac9.tar.xz
rsyslog-e623b1a06bab31665c9185659dad7c7783229ac9.zip
added TODO item
-rw-r--r--runtime/nsd_gtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/nsd_gtls.c b/runtime/nsd_gtls.c
index be3910f9..5ae92913 100644
--- a/runtime/nsd_gtls.c
+++ b/runtime/nsd_gtls.c
@@ -535,7 +535,7 @@ Rcv(nsd_t *pNsd, uchar *pBuf, ssize_t *pLenBuf)
/* in TLS mode now */
lenRcvd = gnutls_record_recv(pThis->sess, pBuf, *pLenBuf);
if(lenRcvd < 0) {
-int gnuRet; /* this is a hack */
+ int gnuRet; /* TODO: build a specific function for GnuTLS error reporting */
*pLenBuf = -1;
CHKgnutls(lenRcvd); /* this will abort the function */
}