summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2008-10-24 19:32:39 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2008-10-24 19:32:39 +0400
commitfb659154cb491bed9b158adfbb34337cadad7a7e (patch)
treede41f735d21fa2c72f10093584989e95df714b28 /main.c
parente5f01249a3498ab47c7c7852f83564d466629a8b (diff)
downloadrspamd-fb659154cb491bed9b158adfbb34337cadad7a7e.tar.gz
rspamd-fb659154cb491bed9b158adfbb34337cadad7a7e.zip
* Stylify and fix util functions that was gathered from libutil code (memory allocation)
* Fix protocol and network functions * Fix some memory allocation issues
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index d7ecb418b..a88662085 100644
--- a/main.c
+++ b/main.c
@@ -220,6 +220,7 @@ main (int argc, char **argv)
rspamd->cfg->temp_dir = memory_pool_strdup (rspamd->cfg->cfg_pool, getenv ("TMPDIR"));
if (!rspamd->cfg->temp_dir) {
+ msg_warn ("$TMPDIR is empty too, using /tmp as default");
rspamd->cfg->temp_dir = memory_pool_strdup (rspamd->cfg->cfg_pool, "/tmp");
}
}