mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
don't bother checking for stream size of 0 in jni since comms does
that now.
This commit is contained in:
parent
cd2550a90d
commit
ba11fcf8df
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue