[ekiga] Fixed "New SIP account mangles fields if Authentications User is empty"



commit 9afb36d1762a957e68796fbeeb222af154e8557d
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Sat Aug 1 23:12:19 2009 +0200

    Fixed "New SIP account mangles fields if Authentications User is empty"
    
    Fixes bug #589266.

 lib/engine/components/opal/opal-account.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 1ba7204..93207f5 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -152,7 +152,10 @@ Opal::Account::Account (Ekiga::ServiceCore & _core,
   protocol_name = (t == H323) ? "H323" : "SIP";
   host = _host;
   username = _username;
-  auth_username = _auth_username;
+  if (!_auth_username.empty())
+    auth_username = _auth_username;
+  else
+    auth_username = _username;
   password = _password;
   timeout = _timeout;
   type = t;



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