From 70ddee4cf0e4f0b95512889ef4831096342b6fb8 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Wed, 12 Jun 2013 12:52:03 +0200 Subject: eurephia-auth: Move the declaration of eurephiaClientCTX outside #ifdef ENABLE_DEBUG block It was not possible to build eurephia without --debug configured otherwise. Signed-off-by: David Sommerseth --- plugin/eurephia-auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin') diff --git a/plugin/eurephia-auth.c b/plugin/eurephia-auth.c index 1488d9a..79057da 100644 --- a/plugin/eurephia-auth.c +++ b/plugin/eurephia-auth.c @@ -45,8 +45,6 @@ #include #include -#ifdef ENABLE_DEBUG /* To avoid compiler warnings when ENABLE_DEBUG is not defined */ - /** * A structure which is prepared in openvpn_plugin_client_constructor_v1(). * This function is called by OpenVPN to initialise a per client memory buffer. @@ -56,6 +54,8 @@ typedef struct _eurephiaClientCTX { certinfo *cert; } eurephiaClientCTX; +#ifdef ENABLE_DEBUG /* To avoid compiler warnings when ENABLE_DEBUG is not defined */ + /** * Simple "converter" from OPENVPN_PLUGIN_* type IDs to string * -- cgit