Clean up warnings

This commit is contained in:
Jonathan Bennett 2022-01-12 01:29:32 -06:00
parent cb46b94ea1
commit 7a5a05fe94
1 changed files with 2 additions and 2 deletions

View File

@ -3420,7 +3420,7 @@ int Monitor::add_to_janus() {
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, postData.c_str()); curl_easy_setopt(curl, CURLOPT_POSTFIELDS, postData.c_str());
res = curl_easy_perform(curl); res = curl_easy_perform(curl);
if (res != CURLE_OK) return -1; if (res != CURLE_OK) return -1;
Debug(1,response.c_str()); Debug(1,"Added stream to Janus: %s", response.c_str());
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
return 0; return 0;
} }
@ -3476,7 +3476,7 @@ int Monitor::remove_from_janus() {
res = curl_easy_perform(curl); res = curl_easy_perform(curl);
if (res != CURLE_OK) return -1; if (res != CURLE_OK) return -1;
Debug(1, response.c_str()); Debug(1, "Removed stream from Janus: %s", response.c_str());
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
return 0; return 0;
} }