Fix debug string

pull/4198/head
Isaac Connor 2024-12-09 17:21:11 -05:00
parent 57fb0cba1b
commit d4b3edfca6
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ void Monitor::ONVIF::WaitForMessage() {
int result = proxyEvent.PullMessages(response.SubscriptionReference.Address, nullptr, &tev__PullMessages, tev__PullMessagesResponse);
if (result != SOAP_OK) {
const char *detail = soap_fault_detail(soap);
Debug(1, "Result of getting ONVIF messages=%d soap_fault_string=%s detail=%s",
Debug(1, "Result of getting ONVIF result=%d soap_fault_string=%s detail=%s",
result, soap_fault_string(soap), detail ? detail : "null");
if (result != SOAP_EOF) { //Ignore the timeout error
Error("Failed to get ONVIF messages! %d %s", result, soap_fault_string(soap));