]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Change keys in protocol as '-' symbol is bad
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 15 Mar 2017 15:34:57 +0000 (15:34 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 15 Mar 2017 15:34:57 +0000 (15:34 +0000)
src/libserver/protocol.c

index 3096263dacd1be6b0f199c402f0765c75d34520f..7d9576a30a68062a9578b88ba33b17b9762244a0 100644 (file)
@@ -1173,10 +1173,10 @@ rspamd_protocol_write_ucl (struct rspamd_task *task,
                                "message-id", 0, false);
                ucl_object_insert_key (top,
                                ucl_object_fromdouble (task->time_real_finish - task->time_real),
-                               "time-real", 0, false);
+                               "time_real", 0, false);
                ucl_object_insert_key (top,
                                ucl_object_fromdouble (task->time_virtual_finish - task->time_virtual),
-                               "time-virtual", 0, false);
+                               "time_virtual", 0, false);
        }
 
        if (flags & RSPAMD_PROTOCOL_DKIM) {