ekiga r7632 - in trunk: . lib/engine/components/opal
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7632 - in trunk: . lib/engine/components/opal
- Date: Sun, 1 Feb 2009 21:07:39 +0000 (UTC)
Author: dsandras
Date: Sun Feb 1 21:07:38 2009
New Revision: 7632
URL: http://svn.gnome.org/viewvc/ekiga?rev=7632&view=rev
Log:
Fixed account data corruption when the authentication user name is
left blank (bug #570024).
Modified:
trunk/ChangeLog
trunk/lib/engine/components/opal/opal-account.cpp
Modified: trunk/lib/engine/components/opal/opal-account.cpp
==============================================================================
--- trunk/lib/engine/components/opal/opal-account.cpp (original)
+++ trunk/lib/engine/components/opal/opal-account.cpp Sun Feb 1 21:07:38 2009
@@ -387,9 +387,11 @@
std::string new_name = result.text ("name");
std::string new_host = result.text ("host");
std::string new_user = result.text ("user");
- std::string new_authentication_user = new_user;
+ std::string new_authentication_user;
if (get_protocol_name () == "SIP")
new_authentication_user = result.text ("authentication_user");
+ if (new_authentication_user.empty ())
+ new_authentication_user = new_user;
std::string new_password = result.private_text ("password");
bool new_enabled = result.boolean ("enabled");
unsigned new_timeout = atoi (result.text ("timeout").c_str ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]