diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-05-27 23:46:18 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-05-27 23:47:45 +0200 |
commit | 7b31bea75b0c5b9fe127ea6d845e48a3f87d480f (patch) | |
tree | 8c13f12f512d5cd72784132a644ca819694b6808 /src/bridge/colors.hpp | |
parent | 34739728f930f461ae6763a5f144f709a9919e59 (diff) | |
download | biboumi-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/bridge/colors.hpp')
0 files changed, 0 insertions, 0 deletions