[PATCH v4 1/3] show: don't use hex literals in JSON output

David Bremner david at tethera.net
Fri Jan 20 05:20:52 PST 2012


On Fri, 20 Jan 2012 13:33:58 +0100, Thomas Jost <schnouki at schnouki.net> wrote:

> The most common gmime error codes are 1 (expired signature), 2 (no
> public key), 4 (expired key) and 8 (revoked key). The other possible
> value is 16 (unsupported algorithm) but obviously it is much more rare.
> If this happens, the current code will add '"errors": 10' (hex for
> 16...). This is valid JSON (it looks like a decimal number) but it is
> incorrect (should be 16, not 10).

Maybe something like this for the commit message?

d


More information about the notmuch mailing list