mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 05:26:20 +02:00
7 lines
374 B
Plaintext
7 lines
374 B
Plaintext
o Code simplification and refactoring:
|
|
- Do not allow the body of any SMARTLIST_FOREACH block to exceed
|
|
10 lines. Doing so in the past has led to hard-to-debug code.
|
|
The new style is to use the SMARTLIST_FOREACH_{BEGIN,END} pair.
|
|
- Do not allow SMARTLIST_FOREACH blocks to nest. Any nested block
|
|
ought to be using SMARTLIST_FOREACH_{BEGIN,END}.
|