diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-23 14:07:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-23 14:07:30 +0100 |
commit | 08ca16a01e7a39cd733f1de6cf77c81fd7ad6e2d (patch) | |
tree | b9a0c773893fe4e2d5600f06acc952abf14814b0 | |
parent | d5e2be6e561620128426dde61bbd0b9b24fc26bb (diff) | |
download | rspamd-08ca16a01e7a39cd733f1de6cf77c81fd7ad6e2d.tar.gz rspamd-08ca16a01e7a39cd733f1de6cf77c81fd7ad6e2d.zip |
Json output assumes raw flag.
-rw-r--r-- | src/client/rspamc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c index e21430e98..642fa44c7 100644 --- a/src/client/rspamc.c +++ b/src/client/rspamc.c @@ -245,6 +245,9 @@ read_cmd_line (gint *argc, gchar ***argv) exit (EXIT_FAILURE); } + if (json) { + raw = TRUE; + } /* Argc and argv are shifted after this function */ } |