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

Fix RTSP example to report on error as intended, not only on success #2185

Closed
wants to merge 1 commit into from

Conversation

@MFornander
Copy link
Contributor

MFornander commented Dec 20, 2017

CURLE_OK is 0 so the old statement if(!res) results in only CURLE_OK responses are printed to stderr and all errors are silent. This change fixes that.

@bagder
bagder approved these changes Dec 21, 2017
@jay jay closed this in b437557 Dec 22, 2017
@jay
Copy link
Member

jay commented Dec 22, 2017

Thanks

@jay jay added the documentation label Dec 22, 2017
@lock lock bot locked as resolved and limited conversation to collaborators May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.