]> source.dussan.org Git - rspamd.git/commitdiff
Fix syntax error.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 30 Nov 2013 23:22:40 +0000 (23:22 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 30 Nov 2013 23:22:40 +0000 (23:22 +0000)
src/main.c

index 8f73334349d76e472274a185da2aed60eecf5e45..a4240aa9c17612b84d8c01aecdd4d21b3ffe2eac 100644 (file)
@@ -1113,7 +1113,7 @@ main (gint argc, gchar **argv, gchar **env)
 
        /* Override pidfile from configuration by command line argument */
        if (rspamd_pidfile != NULL) {
-               cfg->pid_file = rspamd_pidfile;
+               rspamd_main->cfg->pid_file = rspamd_pidfile;
        }
        
        /* Force debug log */