aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/inc.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 43c9a570..7b4e2b29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
-2012-06-05
+2012-06-06
* version 3.2.0beta8
+2012-06-06
+
+ * src/inc.c: properly detect DNS lookup error when
+ session_connect_full() failed immediately.
+
2012-05-31
* libsylph/session.[ch]
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)) &&