aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-22 21:43:29 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-22 21:43:29 +0400
commit80e9384ebfaca000eb7f0693a466795f51e3f29d (patch)
treebca082fbf0f2549c957e0587e4061bc5ffed035e /src/main.c
parentff68b52becd1c70f11be958d08a9eda64e779d16 (diff)
downloadrspamd-80e9384ebfaca000eb7f0693a466795f51e3f29d.tar.gz
rspamd-80e9384ebfaca000eb7f0693a466795f51e3f29d.zip
* Pass env from main() arguments instead of platform specific global environ
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 37f2ac498..e75b46899 100644
--- a/src/main.c
+++ b/src/main.c
@@ -762,7 +762,7 @@ main (int argc, char **argv, char **env)
do_reopen_log = 0;
#ifndef HAVE_SETPROCTITLE
- init_title (argc, argv, environ);
+ init_title (argc, argv, env);
#endif
rspamd->stat = memory_pool_alloc_shared (rspamd->server_pool, sizeof (struct rspamd_stat));