summaryrefslogtreecommitdiff
path: root/socket
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2014-04-25 06:13:33 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-05-17 00:22:36 -0400
commitfbd586044c8d6df00928691ee2b4c5d915afead4 (patch)
tree57ad91392ae2620b70f25c84518c90b45ac084f4 /socket
parent8a6e9a88a3b936236b138486b4bc487924dd91ca (diff)
downloadlibnice-fbd586044c8d6df00928691ee2b4c5d915afead4.tar.gz
Call g_socket_check_connect_result before g_socket_is_connected
If we don't call check_connect_result on an outbound connection, then is_connected will always return FALSE. That's why we check both conditions to make sure g_socket_is_connected returns the correct result, otherwise we end up closing valid connections
Diffstat (limited to 'socket')
0 files changed, 0 insertions, 0 deletions