From: Vsevolod Stakhov Date: Sun, 20 Nov 2022 20:54:01 +0000 (+0000) Subject: [Minor] Fix format string X-Git-Tag: 3.5~202 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc856fffe2a2ef0a7dfbacad372c7f6ca8b3a586;p=thirdparty%2Frspamd.git [Minor] Fix format string --- diff --git a/src/libserver/rspamd_control.c b/src/libserver/rspamd_control.c index 21a8c495e8..e1c39ccaac 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));