aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qpdfjob-c-save-attachment.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qpdfjob-c-save-attachment.c')
-rw-r--r--examples/qpdfjob-c-save-attachment.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/qpdfjob-c-save-attachment.c b/examples/qpdfjob-c-save-attachment.c
index 950e297b..6f67e25b 100644
--- a/examples/qpdfjob-c-save-attachment.c
+++ b/examples/qpdfjob-c-save-attachment.c
@@ -88,8 +88,7 @@ main(int argc, char* argv[])
l, qpdf_log_dest_custom, save_to_file, (void*)outfile, 0);
qpdflogger_cleanup(&l);
j = qpdfjob_init();
- status = (qpdfjob_initialize_from_argv(j, j_argv) ||
- qpdfjob_run(j));
+ status = (qpdfjob_initialize_from_argv(j, j_argv) || qpdfjob_run(j));
qpdfjob_cleanup(&j);
free(attachment_arg);
fclose(outfile);