mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-22 02:57:18 +00:00
pass options from Datagram2 and Datagram3 to handlers
This commit is contained in:
1 parent
acb09c3119
commit
dc9cdf941d
8 files changed
+53
-16
No files matched your search
+1
-1
@@ -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