diff options
author | Jacob Leach <jleach@src.gnome.org> | 2000-05-03 22:43:10 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2000-05-03 22:43:10 +0800 |
commit | 3ccfb61399e6148be5a8b3141f35af272d10622d (patch) | |
tree | 3a171695399026c3796f7a1413969f62ff72677c /camel/camel-folder-search.c | |
parent | 8813178854a02d8374701b9c32231356ae17b98e (diff) | |
download | gsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.tar.gz gsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.tar.zst gsoc2013-evolution-3ccfb61399e6148be5a8b3141f35af272d10622d.zip |
s/strcasecmp/g_strcasecamp/ everywhere except intl/, per michael's
request.
svn path=/trunk/; revision=2776
Diffstat (limited to 'camel/camel-folder-search.c')
-rw-r--r-- | camel/camel-folder-search.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/camel/camel-folder-search.c b/camel/camel-folder-search.c index aa3da63f3a..9d6f80d256 100644 --- a/camel/camel-folder-search.c +++ b/camel/camel-folder-search.c @@ -25,6 +25,7 @@ #include <stdio.h> #include <string.h> +#include <glib.h> #include "camel-folder-search.h" @@ -357,15 +358,15 @@ search_header_contains(struct _ESExp *f, int argc, struct _ESExpResult **argv, C /* only a subset of headers are supported .. */ headername = argv[0]->value.string; - if (!strcasecmp(headername, "subject")) { + if (!g_strcasecmp(headername, "subject")) { header = search->current->subject; - } else if (!strcasecmp(headername, "date")) { + } else if (!g_strcasecmp(headername, "date")) { /* FIXME: not a very useful form of the date */ sprintf(strbuf, "%d", (int)search->current->date_sent); header = strbuf; - } else if (!strcasecmp(headername, "from")) { + } else if (!g_strcasecmp(headername, "from")) { header = search->current->from; - } else if (!strcasecmp(headername, "to")) { + } else if (!g_strcasecmp(headername, "to")) { header = search->current->from; } else { g_warning("Performing query on unknown header: %s", headername); |