json: Don't error out if chunksize is omitted
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 8 Aug 2018 07:49:51 +0000 (09:49 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 8 Aug 2018 07:49:51 +0000 (09:49 +0200)
commit6e48bb0f1cbf662026bf0f70549b52bafe00c017
treef4433c704385546371330b00b9d1fbf6d3b40381
parent3b782443600e8091c5f19580cb218100bcbb4ad7
json: Don't error out if chunksize is omitted

* src/gpgme-json.c (encode_and_chunk): Don't error out
if no chunksize is provided.

--
This fixes 82e4b900a96c837392259469a9a5821a95e7a707 which
caused every call without chunksize to error out.
src/gpgme-json.c