fix little error in previous commit

fix commit 8a708851da
inverted comparaison.

Change-Id: Id7ed10fdd50b82537acc317fb17e0a7e8aebc293
Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>
This commit is contained in:
Guillaume Roguez
2017-12-18 16:44:59 -05:00
committed by Philippe Gorley
parent 8a708851da
commit 25f7464d36

View File

@ -294,7 +294,7 @@ transaction_request_cb(pjsip_rx_data *rdata)
// Append PJSIP transport to the broker's SipTransport list
auto transport = link->sipTransportBroker->addTransport(rdata->tp_info.transport);
if (!transport) {
if (::strcmp(account->getAccountType(), SIPAccount::ACCOUNT_TYPE)) {
if (not ::strcmp(account->getAccountType(), SIPAccount::ACCOUNT_TYPE)) {
RING_WARN("Using transport from account.");
transport = std::static_pointer_cast<SIPAccount>(account)->getTransport();
}