Skip to content

Commit

Permalink
Fix two more wformat warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Dec 4, 2023
1 parent 4d55421 commit d70dc99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void reset_errbuf(reference *ref){

void assert(CURLcode res){
if(res != CURLE_OK)
error(curl_easy_strerror(res));
Rf_error("%s", curl_easy_strerror(res));
}

static char * parse_host(const char * input){
Expand Down Expand Up @@ -75,7 +75,7 @@ void assert_status(CURLcode res, reference *ref){

void massert(CURLMcode res){
if(res != CURLM_OK)
error(curl_multi_strerror(res));
Rf_error("%s", curl_multi_strerror(res));
}

void stop_for_status(CURL *http_handle){
Expand Down

0 comments on commit d70dc99

Please sign in to comment.