tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 1e71e2c1045377b85d38760e257dd9c57c959c9f
parent 3507fead10ef4f990c0373f4405bd235c0f0b35c
Author: Nick Mathewson <nickm@torproject.org>
Date:   Tue,  4 Sep 2018 11:04:55 -0400

c99 style in loop

Diffstat:
Msrc/feature/api/tor_api.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/feature/api/tor_api.c b/src/feature/api/tor_api.c @@ -124,8 +124,7 @@ tor_main_configuration_free(tor_main_configuration_t *cfg) if (cfg == NULL) return; if (cfg->argv_owned) { - int i; - for (i = 0; i < cfg->argc_owned; ++i) { + for (int i = 0; i < cfg->argc_owned; ++i) { raw_free(cfg->argv_owned[i]); } raw_free(cfg->argv_owned);