aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-11-20 20:54:01 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-11-20 20:54:01 +0000
commitfc856fffe2a2ef0a7dfbacad372c7f6ca8b3a586 (patch)
treeb47f29e1038252698a21353337c59494ca6102af
parentdc8f337a59f4b8ce07101259d9644771b738892e (diff)
downloadrspamd-fc856fffe2a2ef0a7dfbacad372c7f6ca8b3a586.tar.gz
rspamd-fc856fffe2a2ef0a7dfbacad372c7f6ca8b3a586.zip
[Minor] Fix format string
-rw-r--r--src/libserver/rspamd_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/rspamd_control.c b/src/libserver/rspamd_control.c
index 21a8c495e..e1c39ccaa 100644
--- a/src/libserver/rspamd_control.c
+++ b/src/libserver/rspamd_control.c
@@ -929,7 +929,7 @@ rspamd_srv_handler (EV_P_ ev_io *w, int revents)
}
else if (r != sizeof (cmd)) {
msg_err ("cannot read from worker's srv pipe incomplete command: %d != %d; command = %s",
- (gint)r, sizeof(cmd), rspamd_srv_command_to_string(cmd.type));
+ (gint)r, (gint)sizeof(cmd), rspamd_srv_command_to_string(cmd.type));
}
else {
rdata = g_malloc0 (sizeof (*rdata));