Commit 281d16c5 authored by Emmanuel Milou's avatar Emmanuel Milou

[#2350] Remove non-valid test

parent 2ba309c8
......@@ -475,7 +475,7 @@ int SIPVoIPLink::sendRegister (AccountID id)
status = createUDPServer (id);
if (status != PJ_SUCCESS) {
_debug ("Failed to initialize UDP transport with a local address for account %s\n. Try to use the local UDT transport", id.c_str());
_debug ("Failed to initialize UDP transport with a local address for account %s\n. Try to use the local UDP transport", id.c_str());
account->setAccountTransport (_localUDPTransport);
}
}
......@@ -498,13 +498,6 @@ int SIPVoIPLink::sendRegister (AccountID id)
// Update the state of the voip link
account->setRegistrationState (Trying);
if (!validStunServer) {
account->setRegistrationState (ErrorExistStun);
account->setRegister (false);
_mutexSIP.leaveMutex();
return false;
}
// Create the registration according to the account ID
status = pjsip_regc_create (_endpt, (void*) account, &regc_cb, &regc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment