fix John_Clay's assertion bugreport
This commit is contained in:
parent
99ea26c1c9
commit
42e70ad53e
|
@ -90,7 +90,9 @@ void
|
|||
tr_setEncryptionMode( tr_handle * handle, tr_encryption_mode mode )
|
||||
{
|
||||
assert( handle != NULL );
|
||||
assert( mode==TR_ENCRYPTION_PREFERRED || mode==TR_ENCRYPTION_REQUIRED );
|
||||
assert( mode==TR_ENCRYPTION_PREFERRED
|
||||
|| mode==TR_ENCRYPTION_REQUIRED
|
||||
|| mode==TR_PLAINTEXT_PREFERRED );
|
||||
|
||||
handle->encryptionMode = mode;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue