mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
lt 1405 sync
This commit is contained in:
parent
a055299141
commit
e9a42b6fcd
1 changed files with 2 additions and 2 deletions
|
@ -395,7 +395,7 @@ namespace libtorrent
|
|||
#ifndef TORRENT_DISABLE_ENCRYPTION
|
||||
buffer::interval wr_recv_buffer()
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
#if defined _SECURE_SCL && _SECURE_SCL > 0
|
||||
if (m_recv_buffer.empty()) return buffer::interval(0,0);
|
||||
#endif
|
||||
return buffer::interval(&m_recv_buffer[0]
|
||||
|
@ -405,7 +405,7 @@ namespace libtorrent
|
|||
|
||||
buffer::const_interval receive_buffer() const
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
#if defined _SECURE_SCL && _SECURE_SCL > 0
|
||||
if (m_recv_buffer.empty()) return buffer::const_interval(0,0);
|
||||
#endif
|
||||
return buffer::const_interval(&m_recv_buffer[0]
|
||||
|
|
Loading…
Add table
Reference in a new issue