[ekiga/ds-opal-refactoring] SIP: Removed more dead code.



commit df1ceb7f24979621619e1b832ce75e653b69a95b
Author: Damien Sandras <dsandras seconix com>
Date:   Sat Mar 21 18:45:24 2015 +0100

    SIP: Removed more dead code.

 .../components/opal/process/sip-endpoint.cpp       |   13 -------------
 lib/engine/components/opal/process/sip-endpoint.h  |    3 ---
 2 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/lib/engine/components/opal/process/sip-endpoint.cpp 
b/lib/engine/components/opal/process/sip-endpoint.cpp
index 23604e7..a98d76c 100644
--- a/lib/engine/components/opal/process/sip-endpoint.cpp
+++ b/lib/engine/components/opal/process/sip-endpoint.cpp
@@ -250,19 +250,6 @@ Opal::Sip::EndPoint::get_outbound_proxy () const
 }
 
 
-std::string
-Opal::Sip::EndPoint::get_aor_domain (const std::string & aor)
-{
-  std::string domain;
-  std::string::size_type loc = aor.find ("@", 0);
-
-  if (loc != string::npos)
-    domain = aor.substr (loc+1);
-
-  return domain;
-}
-
-
 void
 Opal::Sip::EndPoint::enable_account (Account & account)
 {
diff --git a/lib/engine/components/opal/process/sip-endpoint.h 
b/lib/engine/components/opal/process/sip-endpoint.h
index 0a50d24..58f0ed2 100644
--- a/lib/engine/components/opal/process/sip-endpoint.h
+++ b/lib/engine/components/opal/process/sip-endpoint.h
@@ -83,9 +83,6 @@ namespace Opal {
       // the parameters are the aor and the info
       boost::signals2::signal<void(std::string, std::string)> mwi_event;
 
-      /* Helpers */
-      static std::string get_aor_domain (const std::string & aor);
-
       /* Enable / Disable accounts. The account given as argument
        * will be updated to reflect the current account state once
        * the operation has been successful.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]