2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-22 17:41:55 +00:00

Fixed variable name in assertion

This commit is contained in:
Michael Brown 2006-08-10 17:09:48 +00:00
parent bc1a37eacb
commit ea5fa82b91

View File

@ -236,7 +236,7 @@ static void iscsi_tx_data_out ( struct iscsi_session *iscsi,
remaining = ( ISCSI_DATA_LEN ( data_out->lengths ) - iscsi->tx_offset);
assert ( iscsi->command != NULL );
assert ( iscsi->command->data_out != NULL );
assert ( ( offset + len ) <= iscsi->command->data_out_len );
assert ( ( offset + remaining ) <= iscsi->command->data_out_len );
if ( remaining < len )
len = remaining;