aboutsummaryrefslogtreecommitdiffstats
path: root/tests/run-import.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-02-28 12:59:04 +0000
committerWerner Koch <[email protected]>2019-02-28 13:01:47 +0000
commitb159b2eddd9df5df6cc8f29bd999cf1603c56991 (patch)
treec9d485754f59107c94e50dd6eb07214c00595830 /tests/run-import.c
parentjson: Limit recursion depth (diff)
downloadgpgme-b159b2eddd9df5df6cc8f29bd999cf1603c56991.tar.gz
gpgme-b159b2eddd9df5df6cc8f29bd999cf1603c56991.zip
tests: Let run-verify print the de-vs flag.
* tests/run-verify.c (print_result): Chack is_de_vs. * tests/run-import.c (main): Fix bad parameter for format string. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tests/run-import.c')
-rw-r--r--tests/run-import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-import.c b/tests/run-import.c
index d98871c3..f464eb1d 100644
--- a/tests/run-import.c
+++ b/tests/run-import.c
@@ -135,7 +135,7 @@ main (int argc, char **argv)
err = gpgme_op_getauditlog (ctx, log, GPGME_AUDITLOG_DIAG);
fail_if_err (err);
buf = gpgme_data_release_and_get_mem (log, &len);
- printf ("\nDiagnostic output:\n%.*s\n", len, buf);
+ printf ("\nDiagnostic output:\n%.*s\n", (int)len, buf);
free (buf);
}