Enable round-trip verifier in verbose mode

This commit is contained in:
Keith Winstein
2012-05-05 01:46:22 -04:00
parent 48fbe3d0e1
commit 3573cec92a
+2 -3
View File
@@ -152,15 +152,14 @@ void TransportSender<MyState>::tick( void )
attempt_prospective_resend_optimization( diff );
if ( verbose ) {
/* verify diff has round-trip identity (modulo Unicode fallback rendering) */
/*
MyState newstate( assumed_receiver_state->state );
newstate.apply_string( diff );
if ( current_state.compare( newstate ) ) {
fprintf( stderr, "Diff: %s\n", diff.c_str() );
}
*/
}
if ( diff.empty() && (now >= next_ack_time) ) {
send_empty_ack();