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

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

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.

@jay jay closed this in b437557 Dec 22, 2017

Owner

jay commented Dec 22, 2017

Thanks

@jay jay added the documentation label Dec 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment