Fix SSL receive; Fix clipboard menu hotkeys
[claws.git] / src / common / socket.c
index 7eadf547f47759fa67c29f2bf044e5e0dedbbc5e..9b1b6208b5e607ec88898e0aaff812ef16b111d6 100644 (file)
@@ -352,6 +352,7 @@ guint sock_add_watch(SockInfo *sock, GIOCondition condition, SockFunc func,
                g_source_set_priority(source, G_PRIORITY_DEFAULT);
                g_source_set_can_recurse(source, FALSE);
                sock->g_source = g_source_attach(source, NULL);
+               return g_source_attach(source, NULL);
        }
 #endif