aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/pop3
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-05-29 04:03:05 +0800
committerDan Winship <danw@src.gnome.org>2000-05-29 04:03:05 +0800
commit4e5eac84a0320a145af952d563343089ef4ade99 (patch)
tree201f4e9d38cdee89366ef6e03132f8682ef91ca5 /camel/providers/pop3
parentf7f298203f8531aa7cfb9eace160b8b1e422b4ed (diff)
downloadgsoc2013-evolution-4e5eac84a0320a145af952d563343089ef4ade99.tar
gsoc2013-evolution-4e5eac84a0320a145af952d563343089ef4ade99.tar.gz
gsoc2013-evolution-4e5eac84a0320a145af952d563343089ef4ade99.tar.bz2
gsoc2013-evolution-4e5eac84a0320a145af952d563343089ef4ade99.tar.lz
gsoc2013-evolution-4e5eac84a0320a145af952d563343089ef4ade99.tar.xz
gsoc2013-evolution-4e5eac84a0320a145af952d563343089ef4ade99.tar.zst
gsoc2013-evolution-4e5eac84a0320a145af952d563343089ef4ade99.zip
(connect_to_server): Remove port number from error message since
it's not terribly useful and we were getting it from the wrong place anyway. svn path=/trunk/; revision=3252
Diffstat (limited to 'camel/providers/pop3')
-rw-r--r--camel/providers/pop3/camel-pop3-store.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c
index 0cd41ee7af..9cbe666eec 100644
--- a/camel/providers/pop3/camel-pop3-store.c
+++ b/camel/providers/pop3/camel-pop3-store.c
@@ -207,10 +207,8 @@ connect_to_server (CamelService *service, gboolean real, CamelException *ex)
connect (fd, (struct sockaddr *)&sin, sizeof(sin)) == -1) {
if (real) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE,
- "Could not connect to %s "
- "(port %d): %s", h->h_name,
- service->url->port,
- g_strerror(errno));
+ "Could not connect to %s: %s",
+ h->h_name, g_strerror(errno));
}
if (fd > -1)
close (fd);