Skip to content

Fix backchannel status checking bugs#528

Merged
michaelrsweet merged 1 commit intoOpenPrinting:masterfrom
LumioseSil:backchannel
Jan 30, 2023
Merged

Fix backchannel status checking bugs#528
michaelrsweet merged 1 commit intoOpenPrinting:masterfrom
LumioseSil:backchannel

Conversation

@LumioseSil
Copy link
Copy Markdown
Contributor

Checking for merely (status < 0) is a bug because the check for timeout is deliberate.

Note that you have an if (timeout < 0) at the beginning

So if the timeout is set to a value, it should check for that value.

Co-Authored-By: aaaaaa123456789 aaaaaa123456789@acidch.at

@LumioseSil
Copy link
Copy Markdown
Contributor Author

@zdohnal @michaelrsweet Please take a look at this and tell me if this if correct or the way it was before is intentional, considering the way I changed it to is written in the cupsBackChannelWrite function

@michaelrsweet
Copy link
Copy Markdown
Member

@AtariDreams I'm swamped for the next couple weeks, so it will be a while before I can look at this and make sure there are no regressions.

@LumioseSil LumioseSil force-pushed the backchannel branch 4 times, most recently from f1f1800 to 594b9d6 Compare November 23, 2022 14:47
@LumioseSil LumioseSil force-pushed the backchannel branch 5 times, most recently from 372437d to 71ff7d9 Compare December 2, 2022 13:50
Checking for merely (status < 0) is a bug because the check for timeout is deliberate.

Note that you have an if (timeout < 0) at the beginning

So if the timeout is set to a value, it should check for that value.

Co-Authored-By: aaaaaa123456789 <aaaaaa123456789@acidch.at>
@LumioseSil
Copy link
Copy Markdown
Contributor Author

@michaelrsweet Could you please take a look at this

@michaelrsweet michaelrsweet self-assigned this Jan 30, 2023
@michaelrsweet michaelrsweet added bug Something isn't working priority-low labels Jan 30, 2023
@michaelrsweet michaelrsweet added this to the v2.4.3 milestone Jan 30, 2023
@michaelrsweet michaelrsweet merged commit 060ba47 into OpenPrinting:master Jan 30, 2023
@LumioseSil LumioseSil deleted the backchannel branch February 19, 2023 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working priority-low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants