[ekiga] Reset limited workaround if it does not work



commit c6c5f6eb4b5fad7102e40256ee34f9fbd4f307f4
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Tue Mar 29 17:08:05 2011 +0200

    Reset limited workaround if it does not work
    
    In fact, if a user has put a wrong password to his account, limited is
    automatically attempted, it becomes true and is stuck to true,
    preventing registration even if the user afterwards corrects his
    password.

 lib/engine/components/opal/opal-account.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 57fb843..f3bee3a 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -578,6 +578,7 @@ Opal::Account::handle_registration_event (RegistrationState state_,
       boost::shared_ptr<Sip::EndPoint> endpoint = core.get<Sip::EndPoint> ("opal-sip-endpoint");
       endpoint->subscribe (*this);
     } else {
+      limited = false;  // since limited did not work, put it back to false, to avoid being stuck to limited=true when retrying register later
       status = _("Could not register");
       if (!info.empty ())
         status = status + " (" + info + ")";



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