1
0
Fork 0

bugfix close(_socket)

This commit is contained in:
Achim Brandt 2012-04-24 10:47:08 +02:00
parent 5492e0032f
commit b891b0e0ce
1 changed files with 2 additions and 2 deletions

View File

@ -398,10 +398,10 @@ namespace triagens {
// -----------------------------------------------------------------------------
bool SimpleHttpClient::close () {
if (_isConnected) {
if (_socket != -1) {
::close(_socket);
_isConnected = false;
}
_isConnected = false;
reset();