more comment correctness for Socket

This commit is contained in:
Stephen Birarda 2015-09-17 14:17:43 -07:00
parent 1f9bb22b9e
commit a914ec82c3

View file

@ -320,7 +320,7 @@ void Socket::rateControlSync() {
auto it = _connectionsHash.find(sockAddr);
if (it != _connectionsHash.end()) {
// if the connection is erased while calling sync since we are not holding an iterator that was invalidated
// if the connection is erased while calling sync since we are re-using the iterator that was invalidated
// we're good to go
auto& connection = _connectionsHash[sockAddr];
connection->sync();