Clean shutdown even for mosh-in-mosh

This commit is contained in:
Keith Winstein
2012-02-01 18:09:26 -05:00
parent cdf4c6b4b3
commit 72fd944de6
3 changed files with 21 additions and 8 deletions
+1 -1
View File
@@ -340,5 +340,5 @@ void Connection::update_MTU( void )
throw NetworkException( "Error getting path MTU", errno );
}
MTU = min( PMTU, SEND_MTU );
MTU = min( PMTU, int(SEND_MTU) ); /* need cast to compile without optimization! XXX */
}