aboutsummaryrefslogtreecommitdiffstats
path: root/src/lmtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lmtp.c')
-rw-r--r--src/lmtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lmtp.c b/src/lmtp.c
index 47962ce93..7ba43d6cb 100644
--- a/src/lmtp.c
+++ b/src/lmtp.c
@@ -301,7 +301,7 @@ start_lmtp_worker (struct rspamd_worker *worker)
hostbuf = alloca (hostmax);
gethostname (hostbuf, hostmax);
hostbuf[hostmax - 1] = '\0';
- snprintf (greetingbuf, sizeof (greetingbuf), "%d rspamd version %s LMTP on %s Ready\r\n", LMTP_OK, RVERSION, hostbuf);
+ rspamd_snprintf (greetingbuf, sizeof (greetingbuf), "%d rspamd version %s LMTP on %s Ready\r\n", LMTP_OK, RVERSION, hostbuf);
io_tv.tv_sec = WORKER_IO_TIMEOUT;
io_tv.tv_usec = 0;