]> source.dussan.org Git - rspamd.git/commitdiff
Init profiler correctly.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 28 Jan 2014 15:46:27 +0000 (15:46 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 28 Jan 2014 15:46:27 +0000 (15:46 +0000)
src/worker_util.c

index 618ab6a5c92d458ded978760d552b994ef9eea0d..65d69aeaada009d59a9858aac4a317e83a9bb35e 100644 (file)
@@ -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 ();