aboutsummaryrefslogtreecommitdiff
path: root/src/inc.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-06-06 07:03:56 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-06-06 07:03:56 +0000
commitf24d50779fb048d663d9c0ed815682b00ec4c2ad (patch)
tree5d32f4910996ec4f2e8cf97adf9809f259a87d57 /src/inc.c
parentc543027406e88271b2833f3ad7a85097363f46e6 (diff)
src/inc.c: properly detect DNS lookup error when session_connect_full() failed immediately.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3084 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/inc.c')
-rw-r--r--src/inc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inc.c b/src/inc.c
index f464926e..81664b96 100644
--- a/src/inc.c
+++ b/src/inc.c
@@ -1024,7 +1024,7 @@ static IncState inc_pop3_session_do(IncSession *session)
if (session_get_error(SESSION(pop3_session)) == SESSION_ERROR_LOOKUP)
session->inc_state = INC_LOOKUP_ERROR;
statusbar_pop_all();
- return INC_CONNECT_ERROR;
+ return session->inc_state;
}
while (session_is_connected(SESSION(pop3_session)) &&