diff options
Diffstat (limited to 'camel')
-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)) |