sws: close sockets properly

Fix a bug where closed sockets (fd -1) were left in the all_sockets
list, because of missing parens in a pointer arithmetic expression

Reenable the tests that were locking up due to this bug.
This commit is contained in:
Joe Mason 2012-08-06 13:44:38 -04:00 committed by Daniel Stenberg
parent 0df14c8393
commit 42e4c34ff3
2 changed files with 3 additions and 6 deletions

View file

@ -5,6 +5,3 @@
594
1209
1211
2025
2028
2031