curl / Mailing Lists / curl-users / Single Mail

curl-users

Test for Return Code

From: Mike Lambert <mlambert_at_optushome.com.au>
Date: Sun, 11 Feb 2018 12:08:30 +1100

Hi,

 

I am using QB64 basic to access Curl via the shell command .. shell
"Curl.exe etc..". This works beautifully.

 

How do I test to see if Curl had an error ?

 

I have read the Curl error return codes . but I don't understand them.

 

CURLE_OK (0). Does this mean Curl will return an error code of 0 or do I
have to access the variable CURLE_OK and check it.

 

Regards,

 

Mike

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-02-11