Skip to content

Commit

Permalink
Add debug for curl initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
sirknightj authored Jan 25, 2025
1 parent 5fb356e commit 21954bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/source/CurlApiCallbacks.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,10 @@ STATUS createCurlApiCallbacks(PCallbacksProvider pCallbacksProvider, PCHAR regio
CHK_STATUS(initializeSslCallbacks());

// CURL global initialization
DLOGD("Initializing curl");
CHK(0 == curl_global_init(CURL_GLOBAL_ALL), STATUS_CURL_LIBRARY_INIT_FAILED);

DLOGD("Successfully initialized curl");

// Not in shutdown
ATOMIC_STORE_BOOL(&pCurlApiCallbacks->shutdown, FALSE);

Expand Down

0 comments on commit 21954bf

Please sign in to comment.