basic/journal-importer: "trusted" fields in binary format are not supported
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 20 May 2018 20:51:28 +0000 (22:51 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 31 May 2018 12:30:23 +0000 (14:30 +0200)
commitbcac9822378953e2b5d615e7efba83e9ed474eab
treefe1a402f793bfcda150f67345faa9e751d38956f
parent1e448731f51865184ba988b246d02823a9284d6c
basic/journal-importer: "trusted" fields in binary format are not supported

The parser never accepted "__"-prefixed fields in binary format, but there was
a comment questioning this decision. Let's make it official, and remove the
comment.

Also, for clarity, let's move the dunder field parsing after the field
verification check. This doesn't change much, because invalid fields cannot be
known special fields, but is seems cleaner to first verify the validity of the
name, and then check if it is one of the known ones.
src/basic/journal-importer.c