mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-03 07:55:22 -04:00
Log a failure to init curl
This commit is contained in:
1 parent
3d2fa3172f
commit
5cc7ca28e5
1 file changed
+4
-1
@@ -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