aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-09-28 17:57:50 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-09-28 17:57:50 +0800
commit247a12697fd421a1e461ec85bb1ea569f18fcf13 (patch)
treeafe233335fe1f24642c34f60681d094337412969 /addressbook
parentc22849ea5d9f84d1006df256c1917f13cdb40cc9 (diff)
downloadgsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar
gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar.gz
gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar.bz2
gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar.lz
gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar.xz
gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar.zst
gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.zip
Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to the
2005-09-28 Tor Lillqvist <tml@novell.com> * gui/component/addressbook.c (get_remember_password): Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to the literal "true", just casefolding ASCII is enough. Also better for portability. svn path=/trunk/; revision=30391
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/addressbook.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 5727115201..da4d257170 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2005-09-28 Tor Lillqvist <tml@novell.com>
+
+ * gui/component/addressbook.c (get_remember_password): Use
+ g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to
+ the literal "true", just casefolding ASCII is enough. Also better
+ for portability.
+
2005-09-14 Sushma Rai <rsushma@novell.com>
* gui/contact-list-editor/e-contact-list-editor.etspec: Set selection
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index fad0efa48c..989efb216a 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -140,7 +140,7 @@ get_remember_password (ESource *source)
const gchar *value;
value = e_source_get_property (source, "remember_password");
- if (value && !strcasecmp (value, "true"))
+ if (value && !g_ascii_strcasecmp (value, "true"))
return TRUE;
return FALSE;