From a0b95ac74df4e058b00d23e570ffb2b018f360b8 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sun, 25 Mar 2001 23:04:14 +0000 Subject: eh, changed my mind, put the exception back in camel_url_new() svn path=/trunk/; revision=8934 --- camel/camel-session.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'camel/camel-session.c') diff --git a/camel/camel-session.c b/camel/camel-session.c index 24ca3b964d..6ec2c5f1cf 100644 --- a/camel/camel-session.c +++ b/camel/camel-session.c @@ -291,13 +291,9 @@ camel_session_get_service (CamelSession *session, const char *url_string, CamelProvider *provider; CamelService *service; - url = camel_url_new (url_string); - if (!url) { - camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_URL_INVALID, - _("Could not parse URL `%s'"), - url_string); + url = camel_url_new (url_string, ex); + if (!url) return NULL; - } /* We need to look up the provider so we can then lookup the service in the provider's cache */ -- cgit v1.2.3