[ekiga/gnome-2-26] Fixed "New SIP account mangles fields if Authentications User is empty"



commit b4482b861054b60ac4a135c1c7a2476352378f70
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 9b62123..6d45e2c 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -145,7 +145,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]