diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2013-06-12 12:52:03 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2013-06-12 15:44:46 +0200 |
commit | 70ddee4cf0e4f0b95512889ef4831096342b6fb8 (patch) | |
tree | 3057da32dbf95fa39db8e686a3370bdbdd6727fe | |
parent | 89309c8cde167d6a1651332f2a491ba051f5c30e (diff) | |
download | eurephia-70ddee4cf0e4f0b95512889ef4831096342b6fb8.tar.gz eurephia-70ddee4cf0e4f0b95512889ef4831096342b6fb8.tar.xz eurephia-70ddee4cf0e4f0b95512889ef4831096342b6fb8.zip |
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 <dazo@users.sourceforge.net>
-rw-r--r-- | plugin/eurephia-auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <eurephia_values.h> #include <environment.h> -#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 * |