mirror of
https://github.com/transmission/transmission
synced 2025-02-03 13:03:50 +00:00
(trunk libT) #2179: memory allocation in benc could be more efficient
This commit is contained in:
parent
8ac5a6c126
commit
6a568403d2
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ tr_bencParseStr( const uint8_t * buf,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set to 1 to help expose bugs with tr_bencListAdd and tr_bencDictAdd */
|
/* set to 1 to help expose bugs with tr_bencListAdd and tr_bencDictAdd */
|
||||||
#define LIST_SIZE 8 /* number of items to increment list/dict buffer by */
|
#define LIST_SIZE 4 /* number of items to increment list/dict buffer by */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
makeroom( tr_benc * val,
|
makeroom( tr_benc * val,
|
||||||
|
|
Loading…
Reference in a new issue