diff options
author | Josh Soref <2119212+jsoref@users.noreply.github.com> | 2022-02-22 17:01:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 22:01:28 +0000 |
commit | 2b8e6958f40ef36c1508118ac36a43694283a83c (patch) | |
tree | fa9a9b6843546bdb297b00bc78b83ab4c318f724 /src/libserver/logger | |
parent | 85faeb34719e2b0898d319b02416f669d70f4562 (diff) | |
download | rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.tar.gz rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.zip |
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
Diffstat (limited to 'src/libserver/logger')
-rw-r--r-- | src/libserver/logger/logger.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libserver/logger/logger.c b/src/libserver/logger/logger.c index 846c6d3a9..d44e81aa8 100644 --- a/src/libserver/logger/logger.c +++ b/src/libserver/logger/logger.c @@ -466,12 +466,12 @@ rspamd_common_logv (rspamd_logger_t *rspamd_log, gint level_flags, if (!(rspamd_log->flags & RSPAMD_LOG_FLAG_RSPAMADM)) { if ((nescaped = rspamd_log_line_need_escape (logbuf, end - logbuf)) != 0) { - gsize unsecaped_len = end - logbuf; - gchar *logbuf_escaped = g_alloca (unsecaped_len + nescaped * 4); + gsize unescaped_len = end - logbuf; + gchar *logbuf_escaped = g_alloca (unescaped_len + nescaped * 4); log_line = logbuf_escaped; - end = rspamd_log_line_hex_escape (logbuf, unsecaped_len, - logbuf_escaped, unsecaped_len + nescaped * 4); + end = rspamd_log_line_hex_escape (logbuf, unescaped_len, + logbuf_escaped, unescaped_len + nescaped * 4); } } |