aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/pop3/camel-pop3-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/pop3/camel-pop3-store.c')
-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);