aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-provider.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-02-07 10:56:32 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-02-07 10:56:32 +0800
commit7c99e9ab6b3e218af92aa3544e64f16d07a9ac72 (patch)
tree5fc2e5c1b1c70f79886e29725a41394062974506 /camel/camel-provider.c
parentfc13836aeb9433f62989228772b2831c50516a25 (diff)
downloadgsoc2013-evolution-7c99e9ab6b3e218af92aa3544e64f16d07a9ac72.tar
gsoc2013-evolution-7c99e9ab6b3e218af92aa3544e64f16d07a9ac72.tar.gz
gsoc2013-evolution-7c99e9ab6b3e218af92aa3544e64f16d07a9ac72.tar.bz2
gsoc2013-evolution-7c99e9ab6b3e218af92aa3544e64f16d07a9ac72.tar.lz
gsoc2013-evolution-7c99e9ab6b3e218af92aa3544e64f16d07a9ac72.tar.xz
gsoc2013-evolution-7c99e9ab6b3e218af92aa3544e64f16d07a9ac72.tar.zst
gsoc2013-evolution-7c99e9ab6b3e218af92aa3544e64f16d07a9ac72.zip
Use strrchr, not strchr.
2004-02-06 Jeffrey Stedfast <fejj@ximian.com> * camel-provider.c (camel_provider_init): Use strrchr, not strchr. svn path=/trunk/; revision=24668
Diffstat (limited to 'camel/camel-provider.c')
-rw-r--r--camel/camel-provider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-provider.c b/camel/camel-provider.c
index ccbb286275..1b8ef2cab5 100644
--- a/camel/camel-provider.c
+++ b/camel/camel-provider.c
@@ -79,7 +79,7 @@ camel_provider_init (void)
while ((d = readdir (dir))) {
FILE *fp;
- p = strchr (d->d_name, '.');
+ p = strrchr (d->d_name, '.');
if (!p || strcmp (p, ".urls") != 0)
continue;