aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-11-13 16:03:36 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-11-13 16:03:36 +0000
commit3e29be1422ae7e5303e2fda47ff93d1a458a9f75 (patch)
treef3b44483ef019cc3eea2562174c92ba592494288 /src/lua
parentb6612604aa2b06ef7b12c2aaf24a4175dcea67e5 (diff)
downloadrspamd-3e29be1422ae7e5303e2fda47ff93d1a458a9f75.tar.gz
rspamd-3e29be1422ae7e5303e2fda47ff93d1a458a9f75.zip
[Fix] Another try to fix setproctitle
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_worker.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lua/lua_worker.c b/src/lua/lua_worker.c
index 47f27ca07..025b97ba1 100644
--- a/src/lua/lua_worker.c
+++ b/src/lua/lua_worker.c
@@ -1,11 +1,11 @@
-/*-
- * Copyright 2019 Vsevolod Stakhov
+/*
+ * Copyright 2023 Vsevolod Stakhov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -828,10 +828,10 @@ lua_worker_spawn_process(lua_State *L)
ev_loop_destroy(cbdata->event_loop);
if (proctitle) {
- setproctitle("lua process: %s", proctitle);
+ rspamd_setproctitle("lua process: %s", proctitle);
}
else {
- setproctitle("lua process: unnamed");
+ rspamd_setproctitle("lua process: unnamed");
}
cbdata->event_loop = ev_loop_new(EVFLAG_SIGNALFD);