aboutsummaryrefslogtreecommitdiffstats
path: root/camel/string-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-13 10:11:57 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-13 10:11:57 +0800
commit6fe78080d707fcb986c971c9c106d37d6248678f (patch)
treeea6f8a7f96516a3f74ef296da84193f393f7dfeb /camel/string-utils.c
parente6911693723f9d9c9b274351539f87deffe5beb8 (diff)
downloadgsoc2013-evolution-6fe78080d707fcb986c971c9c106d37d6248678f.tar
gsoc2013-evolution-6fe78080d707fcb986c971c9c106d37d6248678f.tar.gz
gsoc2013-evolution-6fe78080d707fcb986c971c9c106d37d6248678f.tar.bz2
gsoc2013-evolution-6fe78080d707fcb986c971c9c106d37d6248678f.tar.lz
gsoc2013-evolution-6fe78080d707fcb986c971c9c106d37d6248678f.tar.xz
gsoc2013-evolution-6fe78080d707fcb986c971c9c106d37d6248678f.tar.zst
gsoc2013-evolution-6fe78080d707fcb986c971c9c106d37d6248678f.zip
Chris forgot to add #include <e-util/e-util.h> to the source files
2000-07-12 Jeffrey Stedfast <fejj@helixcode.com> Chris forgot to add #include <e-util/e-util.h> to the source files * providers/imap/camel-imap-store.c (imap_connect): Fixed Peter's fix, we don't want to send a string to a %d. svn path=/trunk/; revision=4133
Diffstat (limited to 'camel/string-utils.c')
-rw-r--r--camel/string-utils.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/camel/string-utils.c b/camel/string-utils.c
index 5291b12b45..cdeebe8322 100644
--- a/camel/string-utils.c
+++ b/camel/string-utils.c
@@ -174,25 +174,3 @@ string_prefix (const gchar *s, const gchar *suffix, gboolean *suffix_found)
return result_string;
}
-
-gchar *
-strstrcase (const gchar *haystack, const gchar *needle)
-{
- /* find the needle in the haystack neglecting case */
- gchar *ptr;
- guint len;
-
- g_return_val_if_fail (haystack != NULL, NULL);
- g_return_val_if_fail (needle != NULL, NULL);
-
- len = strlen (needle);
- if (len > strlen (haystack))
- return NULL;
-
- for (ptr = (gchar *) haystack; *(ptr + len - 1) != '\0'; ptr++)
- if (!g_strncasecmp (ptr, needle, len))
- return ptr;
-
- return NULL;
-}
-