From a41a1d20db008ddf58a3dc2eeec305f6253c4653 Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Fri, 16 Sep 2016 12:34:31 +0000 Subject: [PATCH] GNUTLS: Fix the SSL_P(x) macro It previously assumed there was an "F" variable in the scope it was used in. It now uses its input "x" variable. --- libratbox/src/gnutls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libratbox/src/gnutls.c b/libratbox/src/gnutls.c index 4202c3ec..912330c1 100644 --- a/libratbox/src/gnutls.c +++ b/libratbox/src/gnutls.c @@ -39,7 +39,7 @@ # include #endif -#define SSL_P(x) *((gnutls_session_t *)F->ssl) +#define SSL_P(x) *((gnutls_session_t *) ((x)->ssl))