From 3c5700c255f4603b5df9c6d183d13dd71a083cc3 Mon Sep 17 00:00:00 2001 From: m-holger Date: Sat, 27 May 2023 18:19:52 +0100 Subject: Code tidy - reflow comments and strings --- examples/qpdfjob-c-save-attachment.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'examples/qpdfjob-c-save-attachment.c') diff --git a/examples/qpdfjob-c-save-attachment.c b/examples/qpdfjob-c-save-attachment.c index c461f974..30e48127 100644 --- a/examples/qpdfjob-c-save-attachment.c +++ b/examples/qpdfjob-c-save-attachment.c @@ -6,10 +6,9 @@ #include #include -// This example demonstrates how we can redirect where saved output -// goes by calling the default logger's setSave method before running -// something with QPDFJob. See qpdfjob-c-save-attachment.c for an -// implementation that uses the C API. +// This example demonstrates how we can redirect where saved output goes by calling the default +// logger's setSave method before running something with QPDFJob. See qpdfjob-c-save-attachment.c +// for an implementation that uses the C API. static int save_to_file(char const* data, size_t len, void* udata) @@ -79,9 +78,8 @@ main(int argc, char* argv[]) }; outfile = do_fopen(outfilename); - /* Use qpdflogger_set_save with a callback function to redirect - * saved data. You can use other qpdf logger functions to capture - * informational output, warnings, and errors. + /* Use qpdflogger_set_save with a callback function to redirect saved data. You can use other + * qpdf logger functions to capture informational output, warnings, and errors. */ qpdflogger_set_save(l, qpdf_log_dest_custom, save_to_file, (void*)outfile, 0); qpdflogger_cleanup(&l); -- cgit v1.2.3-54-g00ecf