diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-26 07:04:14 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-26 07:04:14 +0800 |
commit | a0b95ac74df4e058b00d23e570ffb2b018f360b8 (patch) | |
tree | 1d782e006485ff81059e4b44a649f60423db1c53 /camel/camel-session.c | |
parent | 182c699c3909ff7e052f05259bac368b72c464f3 (diff) | |
download | gsoc2013-evolution-a0b95ac74df4e058b00d23e570ffb2b018f360b8.tar gsoc2013-evolution-a0b95ac74df4e058b00d23e570ffb2b018f360b8.tar.gz gsoc2013-evolution-a0b95ac74df4e058b00d23e570ffb2b018f360b8.tar.bz2 gsoc2013-evolution-a0b95ac74df4e058b00d23e570ffb2b018f360b8.tar.lz gsoc2013-evolution-a0b95ac74df4e058b00d23e570ffb2b018f360b8.tar.xz gsoc2013-evolution-a0b95ac74df4e058b00d23e570ffb2b018f360b8.tar.zst gsoc2013-evolution-a0b95ac74df4e058b00d23e570ffb2b018f360b8.zip |
eh, changed my mind, put the exception back in camel_url_new()
svn path=/trunk/; revision=8934
Diffstat (limited to 'camel/camel-session.c')
-rw-r--r-- | camel/camel-session.c | 8 |
1 files changed, 2 insertions, 6 deletions
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 */ |