summaryrefslogtreecommitdiff
path: root/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'tls.h')
-rw-r--r--tls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tls.h b/tls.h
index 577251b..79aedd7 100644
--- a/tls.h
+++ b/tls.h
@@ -28,7 +28,11 @@
#include <gnutls/gnutls.h>
+#if LOGALL
+extern ssize_t SEND(struct string msg);
+#else
#define SEND(x) gnutls_record_send(session, x.data, x.len)
+#endif
extern gnutls_session_t session;