mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-02-05 12:01:25 -05:00
Log a failure to init curl
This commit is contained in:
@@ -60,7 +60,10 @@ Monitor::RTSP2WebManager::~RTSP2WebManager() {
|
||||
|
||||
int Monitor::RTSP2WebManager::check_RTSP2Web() {
|
||||
curl = curl_easy_init();
|
||||
if (!curl) return -1;
|
||||
if (!curl) {
|
||||
Error("Failed to init curl");
|
||||
return -1;
|
||||
}
|
||||
|
||||
//Assemble our actual request
|
||||
std::string response;
|
||||
|
||||
Reference in New Issue
Block a user