aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme-json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgme-json.c')
-rw-r--r--src/gpgme-json.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gpgme-json.c b/src/gpgme-json.c
index 81b70aad..9cae944c 100644
--- a/src/gpgme-json.c
+++ b/src/gpgme-json.c
@@ -1491,10 +1491,7 @@ encode_and_chunk (cjson_t request, cjson_t response)
}
if (!chunksize)
- {
- err = GPG_ERR_INV_VALUE;
- goto leave;
- }
+ goto leave;
pending_data.buffer = data;
/* Data should already be encoded so that it does not