don't bother checking for stream size of 0 in jni since comms does

that now.
This commit is contained in:
Eric House 2012-11-13 21:01:25 -08:00
parent cd2550a90d
commit ba11fcf8df

View file

@ -974,9 +974,7 @@ and_send_on_close( XWStreamCtxt* stream, void* closure )
JNIState* state = (JNIState*)globals->state;
XP_ASSERT( !!state->game.comms );
if ( stream_getSize( stream ) > 0 ) {
comms_send( state->game.comms, stream );
}
comms_send( state->game.comms, stream );
}
JNIEXPORT void JNICALL