From 6b8a37403caf8830e85476343ad4be13c7372537 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Fri, 24 Feb 2017 19:27:34 +0100 Subject: - Added missing dependency "ccnx-portal-rta", still needed for the control messages - Fixed little typo for being compliant with the code style - Removed include statements of deprecated library "ccnx-portal" - added level of optimization of 3 by default Change-Id: Id353e58fa1e7eeeb90bdf19ec7fd921876ab12c4 Signed-off-by: Mauro Sardara --- icnet/transport/icnet_transport_vegas.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'icnet/transport/icnet_transport_vegas.cc') diff --git a/icnet/transport/icnet_transport_vegas.cc b/icnet/transport/icnet_transport_vegas.cc index 166e4ef0..b64678f7 100644 --- a/icnet/transport/icnet_transport_vegas.cc +++ b/icnet/transport/icnet_transport_vegas.cc @@ -208,8 +208,7 @@ void VegasTransportProtocol::decreaseWindow() { void VegasTransportProtocol::increaseWindow() { double max_window_size = -1; socket_->getSocketOption(MAX_WINDOW_SIZE, max_window_size); - if (current_window_size_ < max_window_size) // don't expand window above max level - { + if (current_window_size_ < max_window_size) { current_window_size_++; socket_->setSocketOption(CURRENT_WINDOW_SIZE, current_window_size_); } -- cgit 1.2.3-korg