Add comment to curl callback

This commit is contained in:
Tyler Perkins 2021-12-22 13:26:14 -05:00
parent c4b717abd3
commit 6946031f5c

View File

@ -156,6 +156,8 @@ void wifi::initTexture(){
} }
} }
///////////////////////////////////////
// Curl callback function
size_t dashboard::panel::wifi::curl_callback(void* contents, size_t size, size_t dashboard::panel::wifi::curl_callback(void* contents, size_t size,
size_t nmemb, void* userp){ size_t nmemb, void* userp){
((std::string*)userp)->append((char*)contents, size * nmemb); ((std::string*)userp)->append((char*)contents, size * nmemb);