[ekiga] Use C++ string comparision instead of going back to C just for that in the LDAP book code
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Use C++ string comparision instead of going back to C just for that in the LDAP book code
- Date: Wed, 16 Feb 2011 20:06:20 +0000 (UTC)
commit 6da05b08bfcc5a7a63b0edc0e9d087d79b8d6eb4
Author: Snark <jpuydt gnome org>
Date: Sun Feb 13 20:46:14 2011 +0100
Use C++ string comparision instead of going back to C just for that in the LDAP book code
plugins/ldap/ldap-book.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/ldap/ldap-book.cpp b/plugins/ldap/ldap-book.cpp
index e354d95..c6adc10 100644
--- a/plugins/ldap/ldap-book.cpp
+++ b/plugins/ldap/ldap-book.cpp
@@ -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(), EKIGA_NET_URI) == 0)
+ if (bookinfo.uri_host == EKIGA_NET_URI)
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]