]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix rspamadm lua logger 4729/head
authorAndrew Lewis <nerf@judo.za.org>
Thu, 7 Dec 2023 12:46:00 +0000 (14:46 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Thu, 7 Dec 2023 12:46:00 +0000 (14:46 +0200)
src/libserver/logger/logger.c

index 9b9d302f21b2f3549c1aeb6c93c380df159c8fcb..a6c3cd21c3157246ecabd5364937dd9d463b14b9 100644 (file)
@@ -1051,7 +1051,7 @@ gsize rspamd_log_fill_iov(struct iovec *iov,
                                return 4;
                        }
                        else {
-                               return 3; /* No time component */
+                               return 2; /* No time component */
                        }
                }
                else if (log_systemd) {
@@ -1197,4 +1197,4 @@ gsize rspamd_log_fill_iov(struct iovec *iov,
                        return niov;
                }
        }
-}
\ No newline at end of file
+}