diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/em-utils.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index f26786b480..f679c1b92d 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2004-03-23 Not Zed <NotZed@Ximian.com> + + * em-utils.c (em_uri_from_camel): if we get an email uri passed in, + just pass it out again, without first going to camel to do it. + 2004-03-22 Not Zed <NotZed@Ximian.com> * em-format.c: diff --git a/mail/em-utils.c b/mail/em-utils.c index 303b64fac4..0453c50ef7 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -2555,6 +2555,10 @@ char *em_uri_from_camel(const char *curi) char *euri, *tmp; CamelProvider *provider; + /* Easiest solution to code that shouldnt be calling us */ + if (!strncmp(curi, "email:", 6)) + return g_strdup(curi); + provider = camel_provider_get(curi, NULL); if (provider == NULL) { d(printf("em uri from camel failed '%s'\n", curi)); |