aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/importers/netscape-importer.c4
2 files changed, 7 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3f73d8e3c2..330e466e0a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -2,10 +2,11 @@
* em-composer-utils.c (reply_get_composer, get_reply_list,
post_reply_to_message)
- * em-folder-view.c (emfv_format_link_clicked): Use
- g_ascii_strncasecmp() instead of strncasecmp(). We are comparing
- to literal ASCII strings, so just casefolding ASCII is
- enough. Also better for portability.
+ * em-folder-view.c (emfv_format_link_clicked)
+ * importers/netscape-importer.c (netscape_get_boolean): Use
+ g_ascii_str(n)casecmp() instead of str(n)casecmp(). We are
+ comparing to literal ASCII strings in these cases, so just
+ casefolding ASCII is enough. Also better for portability.
* em-format-html-display.c
* message-list.c: Define localtime_r() for Win32 using localtime()
diff --git a/mail/importers/netscape-importer.c b/mail/importers/netscape-importer.c
index 658bc2317f..d36f98ce73 100644
--- a/mail/importers/netscape-importer.c
+++ b/mail/importers/netscape-importer.c
@@ -1310,9 +1310,9 @@ netscape_get_boolean (const char *strname)
if (boolstr == NULL) {
return FALSE;
} else {
- if (strcasecmp (boolstr, "false") == 0) {
+ if (g_ascii_strcasecmp (boolstr, "false") == 0) {
return FALSE;
- } else if (strcasecmp (boolstr, "true") == 0) {
+ } else if (g_ascii_strcasecmp (boolstr, "true") == 0) {
return TRUE;
}
}