author | Raj Bhattacharjea <raj.b@gatech.edu> |
Mon, 27 Oct 2008 15:00:58 -0400 | |
changeset 3818 | 080614a8e247 |
parent 3817 | 4ed410f69d36 |
child 3819 | 37b316422064 |
--- a/src/internet-stack/tcp-socket-impl.cc Mon Oct 27 16:40:03 2008 +0100 +++ b/src/internet-stack/tcp-socket-impl.cc Mon Oct 27 15:00:58 2008 -0400 @@ -298,10 +298,6 @@ TcpSocketImpl::Close (void) { NS_LOG_FUNCTION_NOARGS (); - if (m_state == CLOSED) - { - return -1; - } if (m_pendingData && m_pendingData->Size() != 0) { // App close with pending data must wait until all data transmitted m_closeOnEmpty = true;