Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Manual Duplex Mode (merge) #18

Merged
merged 2 commits into from
Aug 29, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Don't use fprintf() in do_cancel()
fprintf() is not re-entrant
  • Loading branch information
mounaiban committed Aug 23, 2022
commit 7f82890157a60bafd2242e2d06f1716c885ef462
2 changes: 0 additions & 2 deletions src/rastertocapt.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ static void send_page_data(struct printer_state_s *state, const struct cached_pa
static void do_cancel(int s)
{
(void) s;
fprintf(stderr, "DEBUG: CAPT: begin job cancellation cleanup\n");

if (ops)
ops->cancel_cleanup(state);
Expand All @@ -228,7 +227,6 @@ static void do_cancel(int s)
if (state)
free_state();

fprintf(stderr, "DEBUG: CAPT: job cancellation cleanup complete\n");
exit(1);
}

Expand Down