summaryrefslogtreecommitdiff
path: root/src/network/poller.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-05-27 23:46:18 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-05-27 23:47:45 +0200
commit7b31bea75b0c5b9fe127ea6d845e48a3f87d480f (patch)
tree8c13f12f512d5cd72784132a644ca819694b6808 /src/network/poller.hpp
parent34739728f930f461ae6763a5f144f709a9919e59 (diff)
downloadbiboumi-7b31bea75b0c5b9fe127ea6d845e48a3f87d480f.tar.gz
biboumi-7b31bea75b0c5b9fe127ea6d845e48a3f87d480f.tar.bz2
biboumi-7b31bea75b0c5b9fe127ea6d845e48a3f87d480f.tar.xz
biboumi-7b31bea75b0c5b9fe127ea6d845e48a3f87d480f.zip
Only close/unmanage the socket if we are connected/connecting
Since the socket is now only created and managed whenever the connection is being established, we only close the socket and if it was created (we use -1 to denote the fact that is not yet created, or has been closed) and we only unmanage the socket if it is effectively managed. fix #2529
Diffstat (limited to 'src/network/poller.hpp')
0 files changed, 0 insertions, 0 deletions