diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-08 14:32:12 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-08 14:32:12 +0000 |
commit | 534c9aca14adf9819c2260132490331464d742a9 (patch) | |
tree | f3d79bbbd68328412dac2cfd290c60930687c645 /src/lua/lua_cryptobox.c | |
parent | ffaf7ab5639886a9a5493de8387d9a45c978c9cd (diff) | |
download | rspamd-534c9aca14adf9819c2260132490331464d742a9.tar.gz rspamd-534c9aca14adf9819c2260132490331464d742a9.zip |
[Minor] Fix some meaningful compile warnings
Diffstat (limited to 'src/lua/lua_cryptobox.c')
-rw-r--r-- | src/lua/lua_cryptobox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_cryptobox.c b/src/lua/lua_cryptobox.c index 70f29fa91..2a5d9e7ee 100644 --- a/src/lua/lua_cryptobox.c +++ b/src/lua/lua_cryptobox.c @@ -1875,7 +1875,7 @@ lua_cryptobox_encrypt_cookie (lua_State *L) } if (cookie_len > sizeof (padded_cookie) - 1) { - return luaL_error (L, "cookie is too long %d", (gint)padded_cookie); + return luaL_error (L, "cookie is too long %d", (gint)cookie_len); } /* Fill nonce */ |