mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Merge branch 'ticket28852'
This commit is contained in:
commit
a7cbbf279e
4
changes/ticket28852
Normal file
4
changes/ticket28852
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor features (performance):
|
||||
- Remove a needless memset() call from get_token_arguments,
|
||||
thereby speeding up the tokenization of directory objects by about
|
||||
20%. Closes ticket 28852.
|
@ -169,7 +169,6 @@ get_token_arguments(memarea_t *area, directory_token_t *tok,
|
||||
char *cp = mem;
|
||||
int j = 0;
|
||||
char *args[MAX_ARGS];
|
||||
memset(args, 0, sizeof(args));
|
||||
while (*cp) {
|
||||
if (j == MAX_ARGS)
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user