aboutsummaryrefslogtreecommitdiff
path: root/src/socket.c
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 /src/socket.c
parentfd4ec6cba9f33c5630a9d47cadcee7230ee20441 (diff)
fixed a SSL bug.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@131 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
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