aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/socket.c2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5fdfa7f3..e20b9a2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-27
+
+ * src/socket.c: sock_add_watch(): fixed a bug that g_io_add_watch()
+ was called even on SSL connection. It has introduced random bugs.
+
2005-02-25
* src/messageview.c: messageview_select_all(), reply_cb(): fixed
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 1e53a525..c5d5b3cd 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,8 @@
+2005-02-27
+
+ * src/socket.c: sock_add_watch(): SSL 接続の場合でも g_io_add_watch()
+ が呼ばれていたバグを修正。ランダムなバグを引き起こしていた。
+
2005-02-25
* src/messageview.c: messageview_select_all(), reply_cb(): selection
diff --git a/src/socket.c b/src/socket.c
index 71810d20..f23dde62 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -333,7 +333,7 @@ guint sock_add_watch(SockInfo *sock, GIOCondition condition, SockFunc func,
((SockSource *)source)->sock = sock;
g_source_set_priority(source, G_PRIORITY_DEFAULT);
g_source_set_can_recurse(source, FALSE);
- g_source_attach(source, NULL);
+ return g_source_attach(source, NULL);
}
#endif