We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b405c40 commit 93f6538Copy full SHA for 93f6538
1 file changed
httpclient.c
@@ -61,12 +61,13 @@ struct MemoryStruct {
61
/************************ LOCAL FUNCTION DEFINITIONS **************************/
62
/******************************************************************************/
63
64
-/**
+/** */
65
/* This handles curl_easy_setopt returned error code logging */
66
/* @param - [Input] curl = a pointer to our CURL handle */
67
/* @param - [I/O] errNum = the curl error number */
68
/* */
69
static int handle_curl_error(CURL *curl, int errNum) {
70
+ char errBuff[CURL_ERROR_SIZE];
71
/* When tracing, dump the error buffer to stderr */
72
if ( is_log_trace() ) {
73
size_t len = strlen( errBuff );
0 commit comments