commit ce14a95: [Minor] Fix formatting issue

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Mar 20 14:28:07 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-03-20 14:27:04 +0000
URL: https://github.com/rspamd/rspamd/commit/ce14a950a69c4b8e749b7d2c647105c823b8a6a2 (HEAD -> master)

[Minor] Fix formatting issue

---
 src/libmime/archives.c | 5 +++--
 src/lua/lua_task.c     | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/libmime/archives.c b/src/libmime/archives.c
index b84670761..21bd51ecd 100644
--- a/src/libmime/archives.c
+++ b/src/libmime/archives.c
@@ -1163,8 +1163,9 @@ rspamd_7zip_read_coders_info (struct rspamd_task *task,
 						guint64 tmp;
 
 						SZ_READ_VINT (tmp); /* Unpacked size */
-						msg_debug_archive ("7zip: unpacked size (folder=%d, stream=%d) = %L",
-								i, j, tmp);
+						msg_debug_archive ("7zip: unpacked size "
+										   "(folder=%d, stream=%d) = %L",
+								(gint)i, j, tmp);
 					}
 				}
 				else {
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index b5ed7dd19..650c2281c 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -164,9 +164,10 @@ LUA_FUNCTION_DEF (task, set_pre_result);
  */
 LUA_FUNCTION_DEF (task, has_pre_result);
 /***
- * @method task:append_message(message)
+ * @method task:append_message(message, [category])
  * Adds a message to scanning output.
  * @param {string} message
+ * @param {category} message category
 @example
 local function cb(task)
 	task:append_message('Example message')


More information about the Commits mailing list