From 64a124389aed9c6f0dbf6b06b9ddec8fd3dcf999 Mon Sep 17 00:00:00 2001 From: cmhu <2657262686@qq.com> Date: Tue, 9 Apr 2024 10:35:15 +0800 Subject: [PATCH] 修复返回值错误问题 --- src/decoder/gb28181/sip/SipServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/decoder/gb28181/sip/SipServer.cpp b/src/decoder/gb28181/sip/SipServer.cpp index cf86dd1..007e8d3 100644 --- a/src/decoder/gb28181/sip/SipServer.cpp +++ b/src/decoder/gb28181/sip/SipServer.cpp @@ -517,7 +517,7 @@ int SipServer::RequestInvite_UDP(const char* dst_channel, int rtpPort) { else { LOG_ERROR("eXosip_call_send_initial_invite error: call_id={}", call_id); } - return ret; + return call_id; } int SipServer::RequestInvite_TCP_a(const char* dst_channel, int rtpPort) { @@ -579,7 +579,7 @@ int SipServer::RequestInvite_TCP_a(const char* dst_channel, int rtpPort) { else { LOG_ERROR("eXosip_call_send_initial_invite error: call_id={}", call_id); } - return ret; + return call_id; } void SipServer::cacheCatalog() { -- libgit2 0.21.4