[ekiga] h323-endpoint: use the gatekeeper accessor



commit 92cd47d587add7ec2f8a167e603c698025a838dc
Author: VÃctor Manuel JÃquez Leal <vjaquez igalia com>
Date:   Fri Dec 21 17:40:27 2012 +0100

    h323-endpoint: use the gatekeeper accessor
    
    Instead of using the internal attribute gatkeeper, it is more clean to
    use the available accessor for it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690618

 lib/engine/components/opal/h323-endpoint.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/h323-endpoint.cpp b/lib/engine/components/opal/h323-endpoint.cpp
index 726a66b..8a1768c 100644
--- a/lib/engine/components/opal/h323-endpoint.cpp
+++ b/lib/engine/components/opal/h323-endpoint.cpp
@@ -327,7 +327,7 @@ Opal::H323::EndPoint::Register (const Opal::Account& account)
     if (!result) {
 
       // Registering failed
-      if (gatekeeper) {
+      if (GetGatekeeper () != NULL) {
 
         switch (gatekeeper->GetRegistrationFailReason ()) {
 



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