mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
do not crash on empty char* in logger
This commit is contained in:
parent
e0114d64f5
commit
570f927eca
1 changed files with 1 additions and 1 deletions
|
|
@ -948,7 +948,7 @@ void FileTransferChatMessageModifier::cancelFileTransfer () {
|
|||
if (message) {
|
||||
lInfo() << "Canceling file transfer " << (
|
||||
currentFileContentToTransfer->getFilePath().empty()
|
||||
? linphone_core_get_file_transfer_server(message->getCore()->getCCore())
|
||||
? L_C_TO_STRING(linphone_core_get_file_transfer_server(message->getCore()->getCCore()))
|
||||
: currentFileContentToTransfer->getFilePath().c_str()
|
||||
);
|
||||
belle_http_provider_cancel_request(message->getCore()->getCCore()->http_provider, httpRequest);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue