[ekiga/v4_0] h323-endpoint: remove gatekeeperID variable
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/v4_0] h323-endpoint: remove gatekeeperID variable
- Date: Mon, 14 Jan 2013 17:46:39 +0000 (UTC)
commit 5d388e819c8b64b6a810fd49946e9bcc91690458
Author: VÃctor Manuel JÃquez Leal <vjaquez igalia com>
Date: Mon Dec 3 15:34:05 2012 +0100
h323-endpoint: remove gatekeeperID variable
The gatkeeperID is not assigned, so no information is passed to it,
hence it is better to use the default parameter value (Empty), and the
code is more clean.
https://bugzilla.gnome.org/show_bug.cgi?id=690618
lib/engine/components/opal/h323-endpoint.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/components/opal/h323-endpoint.cpp b/lib/engine/components/opal/h323-endpoint.cpp
index 8101ceb..7c9c0e9 100644
--- a/lib/engine/components/opal/h323-endpoint.cpp
+++ b/lib/engine/components/opal/h323-endpoint.cpp
@@ -307,7 +307,6 @@ Opal::H323::EndPoint::unsubscribe (const Opal::Account & account,
void
Opal::H323::EndPoint::Register (const Opal::Account& account)
{
- PString gatekeeperID;
std::string info;
std::string aor = account.get_aor ();
@@ -324,7 +323,7 @@ Opal::H323::EndPoint::Register (const Opal::Account& account)
SetGatekeeperPassword (account.get_password ());
SetGatekeeperTimeToLive (account.get_timeout () * 1000);
- bool result = UseGatekeeper (account.get_host (), gatekeeperID);
+ bool result = UseGatekeeper (account.get_host ());
// There was an error (missing parameter or registration failed)
// or the user chose to not register
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]