Fix debug string
parent
57fb0cba1b
commit
d4b3edfca6
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue