summaryrefslogtreecommitdiff
path: root/src/utils/encoding.cpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-06-22 23:56:51 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-06-22 23:56:51 +0200
commit7b785cf552b69163c8e3ccc2dd3e05176d88e18b (patch)
tree4c9101964c80c7b50eb21a5a58d1e631517e19d9 /src/utils/encoding.cpp
parent545ab11ff3a334b242ba2d7fc87e2b6ba0185cb5 (diff)
downloadbiboumi-7b785cf552b69163c8e3ccc2dd3e05176d88e18b.tar.gz
biboumi-7b785cf552b69163c8e3ccc2dd3e05176d88e18b.tar.bz2
biboumi-7b785cf552b69163c8e3ccc2dd3e05176d88e18b.tar.xz
biboumi-7b785cf552b69163c8e3ccc2dd3e05176d88e18b.zip
Delete the timeout event using the correct socket number, instead of -1
Was causing the event to not be removed in case of connection failure, which lead to a dangling timed event named “timeout-1”, which was called later, by some other SocketHandler for which even the socket creation failed (so, its socket is -1), with a pointer to the previous SocketHandler which has disappeared for a long time: segmentation fault etc.
Diffstat (limited to 'src/utils/encoding.cpp')
0 files changed, 0 insertions, 0 deletions