From 9fe6587bd3338e0bc630688996fef8d010120a44 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Mon, 9 Apr 2018 11:26:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZLToolKit | 2 +- src/Http/HttpClient.cpp | 4 ++-- src/Rtsp/RtpBroadCaster.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZLToolKit b/ZLToolKit index d01d8882..efa7c8ee 160000 --- a/ZLToolKit +++ b/ZLToolKit @@ -1 +1 @@ -Subproject commit d01d88829a033b49dc3cfdb4418cf1b8225af68a +Subproject commit efa7c8ee4f1cc61cac11d32832a09d900008f44b diff --git a/src/Http/HttpClient.cpp b/src/Http/HttpClient.cpp index 36c39dc8..bcb50c1c 100644 --- a/src/Http/HttpClient.cpp +++ b/src/Http/HttpClient.cpp @@ -139,7 +139,7 @@ void HttpClient::onRecvBytes(const char* data, int size) { for(auto &pr: _parser.getValues()){ printer << pr.first << ":" << pr.second << "\r\n"; } - FatalL << _totalBodySize << ":" << _recvedBodySize << "\r\n" << (printer << endl); + ErrorL << _totalBodySize << ":" << _recvedBodySize << "\r\n" << (printer << endl); shutdown(); return; } @@ -168,7 +168,7 @@ void HttpClient::onRecvBytes(const char* data, int size) { for(auto &pr: _parser.getValues()){ printer << pr.first << ":" << pr.second << "\r\n"; } - FatalL << _totalBodySize << ":" << _recvedBodySize << "\r\n" << (printer << endl); + ErrorL << _totalBodySize << ":" << _recvedBodySize << "\r\n" << (printer << endl); shutdown(); } diff --git a/src/Rtsp/RtpBroadCaster.cpp b/src/Rtsp/RtpBroadCaster.cpp index ef831f6b..0e004916 100644 --- a/src/Rtsp/RtpBroadCaster.cpp +++ b/src/Rtsp/RtpBroadCaster.cpp @@ -61,7 +61,7 @@ std::shared_ptr MultiCastAddressMaker::obtain(uint32_t iTry) { return obtain(--iTry); } //分配完了,应该不可能到这里 - FatalL; + ErrorL; return nullptr; } m_setBadAddr.emplace(iGotAddr);