aboutsummaryrefslogtreecommitdiffstats
path: root/camel
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
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')
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/providers/pop3/camel-pop3-store.c6
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);