commit 5b202c9: [Minor] iov_len is size_t on Linux and int on osx
Vsevolod Stakhov
vsevolod at highsecure.ru
Sun Jul 21 17:49:03 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-07-21 18:46:09 +0100
URL: https://github.com/rspamd/rspamd/commit/5b202c9e2fd6104e6d3edd8d5ec3142bc73500d6 (HEAD -> master)
[Minor] iov_len is size_t on Linux and int on osx
---
src/lua/lua_tcp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lua/lua_tcp.c b/src/lua/lua_tcp.c
index c03d13acf..226f48cc5 100644
--- a/src/lua/lua_tcp.c
+++ b/src/lua/lua_tcp.c
@@ -825,8 +825,8 @@ lua_tcp_write_helper (struct lua_tcp_cbdata *cbd)
flags = MSG_NOSIGNAL;
#endif
- msg_debug_tcp ("want write %d io vectors of %d", msg.msg_iovlen,
- niov);
+ msg_debug_tcp ("want write %d io vectors of %d", (int)msg.msg_iovlen,
+ (int)niov);
if (cbd->ssl_conn) {
r = rspamd_ssl_writev (cbd->ssl_conn, msg.msg_iov, msg.msg_iovlen);
More information about the Commits
mailing list