[ekiga] Fixed the feature of only proposing adding ekiga.net when it's not already there
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Fixed the feature of only proposing adding ekiga.net when it's not already there
- Date: Sun, 13 Feb 2011 17:16:53 +0000 (UTC)
commit 735e5455a727064f59f721e2a1e224796052b706
Author: Snark <jpuydt gnome org>
Date: Sun Feb 13 18:17:56 2011 +0100
Fixed the feature of only proposing adding ekiga.net when it's not already there
It was just a case of matching the right uri ; additionnally I found
another place where the EKIGA_NET_URI macro can be used.
plugins/ldap/ldap-book.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/ldap/ldap-book.cpp b/plugins/ldap/ldap-book.cpp
index 9234207..e354d95 100644
--- a/plugins/ldap/ldap-book.cpp
+++ b/plugins/ldap/ldap-book.cpp
@@ -50,7 +50,7 @@
#include "ldap-book.h"
#include "robust-xml.h"
-#define EKIGA_NET_URI "ldap://ekiga.net:389"
+#define EKIGA_NET_URI "ldap://ekiga.net"
/* little helper function... can probably be made more complete */
static const std::string
@@ -915,7 +915,7 @@ OPENLDAP::Book::refresh_result ()
} while (msg_result != NULL);
// Do not count ekiga.net's first entry "Search Results ... 100 entries"
- if (strcmp (bookinfo.uri_host.c_str(), "ldap://ekiga.net") == 0)
+ if (strcmp (bookinfo.uri_host.c_str(), EKIGA_NET_URI) == 0)
nbr--;
c_status = g_strdup_printf (ngettext ("%d user found",
"%d users found", nbr), nbr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]