Skip to content

Commit

Permalink
Merge d61036d into f009bbe
Browse files Browse the repository at this point in the history
  • Loading branch information
MFornander committed Dec 20, 2017
2 parents f009bbe + d61036d commit 126fb29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/rtsp.c
Expand Up @@ -63,13 +63,13 @@ static int _getch(void)
/* error handling macros */
#define my_curl_easy_setopt(A, B, C) \
res = curl_easy_setopt((A), (B), (C)); \
if(!res) \
if(res != CURLE_OK) \
fprintf(stderr, "curl_easy_setopt(%s, %s, %s) failed: %d\n", \
#A, #B, #C, res);

#define my_curl_easy_perform(A) \
res = curl_easy_perform(A); \
if(!res) \
if(res != CURLE_OK) \
fprintf(stderr, "curl_easy_perform(%s) failed: %d\n", #A, res);


Expand Down

0 comments on commit 126fb29

Please sign in to comment.