aboutsummaryrefslogtreecommitdiffstats
path: root/camel
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
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')
-rw-r--r--camel/ChangeLog2
-rw-r--r--camel/camel-provider.c2
-rw-r--r--camel/camel-url-scanner.c2
3 files changed, 5 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index f246e8bd53..fdf8a059cb 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,7 @@
2004-02-06 Jeffrey Stedfast <fejj@ximian.com>
+ * camel-provider.c (camel_provider_init): Use strrchr, not strchr.
+
* camel-gpg-context.c (gpg_ctx_parse_status): Forget the need_id,
not the userid. Fixes bug #53908.
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;
diff --git a/camel/camel-url-scanner.c b/camel/camel-url-scanner.c
index 3d7c0b6053..9bd46e8333 100644
--- a/camel/camel-url-scanner.c
+++ b/camel/camel-url-scanner.c
@@ -244,6 +244,8 @@ camel_url_addrspec_end (const char *in, const char *pos, const char *inend, urlm
inptr++;
else
return FALSE;
+
+ got_dot = TRUE;
} else {
while (inptr < inend) {
if (is_domain (*inptr))