diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-02-07 10:56:32 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-02-07 10:56:32 +0800 |
commit | 7c99e9ab6b3e218af92aa3544e64f16d07a9ac72 (patch) | |
tree | 5fc2e5c1b1c70f79886e29725a41394062974506 | |
parent | fc13836aeb9433f62989228772b2831c50516a25 (diff) | |
download | gsoc2013-evolution-7c99e9ab6b3e218af92aa3544e64f16d07a9ac72.tar.gz 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
-rw-r--r-- | camel/ChangeLog | 2 | ||||
-rw-r--r-- | camel/camel-provider.c | 2 | ||||
-rw-r--r-- | camel/camel-url-scanner.c | 2 |
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)) |