diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-28 15:46:27 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-28 15:46:27 +0000 |
commit | d5928fd6f07aaf64da5a8d2c837440da3d45da11 (patch) | |
tree | cd020f597c459d73fafb34bd8fd0ba8c4c5698b9 /src | |
parent | e61e5baee780cde9af26c8c64133b124c053df70 (diff) | |
download | rspamd-d5928fd6f07aaf64da5a8d2c837440da3d45da11.tar.gz rspamd-d5928fd6f07aaf64da5a8d2c837440da3d45da11.zip |
Init profiler correctly.
Diffstat (limited to 'src')
-rw-r--r-- | src/worker_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker_util.c b/src/worker_util.c index 618ab6a5c..65d69aeaa 100644 --- a/src/worker_util.c +++ b/src/worker_util.c @@ -234,7 +234,7 @@ prepare_worker (struct rspamd_worker *worker, const char *name, monstartup ((u_long) & _start, (u_long) & etext); #endif - gperf_profiler_init (worker->srv->cfg, "worker"); + gperf_profiler_init (worker->srv->cfg, name); worker->srv->pid = getpid (); |