aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/rspamadm.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-25 01:16:02 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-25 01:16:02 +0100
commit8d08ce4da42d2b746a7462899f901e8f422e3d81 (patch)
tree06799c98da9979b0984d81adbbe244e62eb5e046 /src/rspamadm/rspamadm.c
parent5c4626638cf38d7106d9549d05f768406849ea20 (diff)
downloadrspamd-8d08ce4da42d2b746a7462899f901e8f422e3d81.tar.gz
rspamd-8d08ce4da42d2b746a7462899f901e8f422e3d81.zip
Add configtest command.
Diffstat (limited to 'src/rspamadm/rspamadm.c')
-rw-r--r--src/rspamadm/rspamadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c
index 9105b74b8..d052dd054 100644
--- a/src/rspamadm/rspamadm.c
+++ b/src/rspamadm/rspamadm.c
@@ -32,6 +32,7 @@ static gboolean list_commands = FALSE;
static gboolean show_help = FALSE;
static gboolean show_version = FALSE;
GHashTable *ucl_vars = NULL;
+struct rspamd_main *rspamd_main = NULL;
static void rspamadm_help (gint argc, gchar **argv);
static const char* rspamadm_help_help (gboolean full_help);
@@ -176,7 +177,6 @@ main (gint argc, gchar **argv, gchar **env)
GOptionContext *context;
GOptionGroup *og;
struct rspamd_config *cfg;
- struct rspamd_main *rspamd_main;
GQuark process_quark;
gchar **nargv, **targv;
const gchar *cmd_name;