cURL / Mailing Lists / curl-library / Single Mail

curl-library

Question about curl CURLOPT_DEBUGFUNCTION example

From: Elia Pinto <gitter.spiros_at_gmail.com>
Date: Fri, 15 Apr 2016 10:17:40 +0200

Hello everyone.
I am sorry for the banal question
but I'm using in my code this example of CURLOPT_DEBUGFUNCTION
https://curl.haxx.se/libcurl/c/debug.html
and I wondered why in the code the "dump" function use the hex char
OD and OA for comparisons and not the equivalent C code escape '\ r' and '\ n'.

There is probably something obvious but I can not give me a convincing
explanation. Could you help me?

Thank you very much

https://curl.haxx.se/libcurl/c/debug.html
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-04-15