Replace curl with httplib

This commit is contained in:
Adam Honse 2022-05-03 19:26:02 -05:00
parent aeb1e364c4
commit 2cb08ec4b4
5 changed files with 8267 additions and 59 deletions

View file

@ -30,7 +30,7 @@ void DetectNanoleafControllers(std::vector<RGBController*> &rgb_controllers)
}
catch(...)
{
LOG_DEBUG("[Nanoleaf] Could not connect to device at %s:%s using auth_token %s", device["ip"], device["port"], device["auth_token"]);
LOG_DEBUG("[Nanoleaf] Could not connect to device at %s:%s using auth_token %s", device["ip"].get<std::string>().c_str(), device["port"].get<std::string>().c_str(), device["auth_token"].get<std::string>().c_str());
}
}
}