diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 3 | ||||
-rw-r--r-- | camel/providers/pop3/camel-pop3-store.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 1cd56180ac..eb5f704beb 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -12,6 +12,9 @@ code. Fix a one-byte buffer overrun in the APOP code. (pop3_disconnect): Make this able to clean up after a partial connect. + (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. * camel-mime-utils.c (header_address_list_format_append): Use `foo@bar' rather than `"" <foo@bar>' for email addresses with no 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); |