From 4e5eac84a0320a145af952d563343089ef4ade99 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sun, 28 May 2000 20:03:05 +0000 Subject: (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 --- camel/providers/pop3/camel-pop3-store.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'camel/providers') 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); -- cgit v1.2.3