mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
clarify the DEBUGFUNCTION data not being zero terminated
This commit is contained in:
parent
d0b97f7e1f
commit
75145dd753
@ -175,6 +175,10 @@ curl_debug_callback (CURL *, curl_infotype, char *, size_t, void *);\fP
|
|||||||
This function will receive debug information if CURLOPT_VERBOSE is
|
This function will receive debug information if CURLOPT_VERBOSE is
|
||||||
enabled. The curl_infotype argument specifies what kind of information it
|
enabled. The curl_infotype argument specifies what kind of information it
|
||||||
is. This funtion must return 0.
|
is. This funtion must return 0.
|
||||||
|
|
||||||
|
NOTE: the data pointed to by the char * passed to this function WILL NOT be
|
||||||
|
zero terminated, but will be exactly of the size as told by the size_t
|
||||||
|
argument.
|
||||||
.TP
|
.TP
|
||||||
.B CURLOPT_DEBUGDATA
|
.B CURLOPT_DEBUGDATA
|
||||||
Pass a pointer to whatever you want passed in to your CURLOPT_DEBUGFUNCTION in
|
Pass a pointer to whatever you want passed in to your CURLOPT_DEBUGFUNCTION in
|
||||||
|
Loading…
Reference in New Issue
Block a user