aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-02-27 06:19:10 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-02-27 06:19:10 +0000
commit6afd63f00a030cd2b0123d174d3e57a6c4f5cb10 (patch)
treebbfa757da38dc3505de9082ec924d0530e88893e
parentfd4ec6cba9f33c5630a9d47cadcee7230ee20441 (diff)
fixed a SSL bug.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@131 ee746299-78ed-0310-b773-934348b2243d
-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