Skip to content

Commit 93f6538

Browse files
committed
Fix warning message
1 parent b405c40 commit 93f6538

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

httpclient.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,13 @@ struct MemoryStruct {
6161
/************************ LOCAL FUNCTION DEFINITIONS **************************/
6262
/******************************************************************************/
6363

64-
/**
64+
/** */
6565
/* This handles curl_easy_setopt returned error code logging */
6666
/* @param - [Input] curl = a pointer to our CURL handle */
6767
/* @param - [I/O] errNum = the curl error number */
6868
/* */
6969
static int handle_curl_error(CURL *curl, int errNum) {
70+
char errBuff[CURL_ERROR_SIZE];
7071
/* When tracing, dump the error buffer to stderr */
7172
if ( is_log_trace() ) {
7273
size_t len = strlen( errBuff );

0 commit comments

Comments
 (0)