Subversion Repositories Programming Utils

Compare Revisions

Ignore whitespace Rev 57 → Rev 58

/trunk/JavaSerial/NativeCode/SerialPortImpl.c
1296,7 → 1296,7
}
if( FD_ISSET( desc->port, &fdset ) ){
stat = read( desc->port, &ret_val, sizeof( ret_val ) );
stat = read( desc->port, &ret_val, 1 );
if( stat < 0 ){
//throw new exception
throw_io_exception( env, errno );