From 2332cf8597cac57c8910a8aaee66f476bc261906 Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Wed, 18 Nov 2009 16:41:59 -0500 Subject: [PATCH] [#2402] Cleanup --- sflphone-common/src/sip/sipvoiplink.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp index 9cee5e685e..92f4965a5e 100644 --- a/sflphone-common/src/sip/sipvoiplink.cpp +++ b/sflphone-common/src/sip/sipvoiplink.cpp @@ -1921,7 +1921,7 @@ int SIPVoIPLink::createUDPServer (AccountID id) pj_status_t status; pj_sockaddr_in bound_addr; pjsip_host_port a_name; - char tmpIP[32]; + // char tmpIP[32]; pjsip_transport *transport; std::string listeningAddress = "127.0.0.1"; int listeningPort = _regPort; @@ -1965,13 +1965,10 @@ int SIPVoIPLink::createUDPServer (AccountID id) // Use here either the local information or the published address if (account != NULL && !account->getPublishedSameasLocal ()) { - - // Set the listening address to the published address listeningAddress = account->getPublishedAddress (); // Set the listening port to the published port listeningPort = account->getPublishedPort (); - _debug (" ******************************** Use the published address %s:%i\n", listeningAddress.c_str (), listeningPort ); } @@ -2850,8 +2847,8 @@ void regc_cb (struct pjsip_regc_cbparam *param) if (param->code && description) { - std::string descriptionprint(description->ptr, description->slen); - _debug("Received client registration callback wiht code: %i, %s\n", param->code, descriptionprint.c_str()); + //std::string descriptionprint(description->ptr, description->slen); + //_debug("Received client registration callback wiht code: %i, %s\n", param->code, descriptionprint.c_str()); DBusManager::instance().getCallManager()->registrationStateChanged (account->getAccountID(), std::string (description->ptr, description->slen), param->code); std::pair<int, std::string> details (param->code, std::string (description->ptr, description->slen)); account->setRegistrationStateDetailed (details); -- GitLab