mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-03-30 17:16:05 +00:00
pass options from Datagram2 and Datagram3 to handlers
This commit is contained in:
@@ -223,7 +223,7 @@ namespace util
|
||||
|
||||
size_t Mapping::FromBuffer (size_t size, const uint8_t * buf, size_t len)
|
||||
{
|
||||
if (len < size) return 0;
|
||||
if (!size || len < size) return 0;
|
||||
size_t offset = 0;
|
||||
while (offset < size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user