]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix formatting issue
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 20 Mar 2019 14:27:04 +0000 (14:27 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 20 Mar 2019 14:27:04 +0000 (14:27 +0000)
src/libmime/archives.c
src/lua/lua_task.c

index b846707618d2dcc36f2defe734177cbe6956109c..21bd51ecd4508875816e97e9462e93b8da6af715 100644 (file)
@@ -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 {
index b5ed7dd19a043b09c4d58fdace97de44205b1eaf..650c2281cb8c9a3a5791fbfd804a0106b3b6bf6d 100644 (file)
@@ -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')