tor

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

commit a28e350cff1572a1e5a0c5df93f6e6005904689a
parent 6b6d003f43cbbf01b40cedb0cc12ada2e81461f9
Author: rl1987 <rl1987@sdf.lonestar.org>
Date:   Wed, 21 Feb 2018 20:25:24 +0100

Tweak loop condition

Diffstat:
Msrc/common/util.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/util.c b/src/common/util.c @@ -1145,7 +1145,7 @@ string_is_valid_hostname(const char *string) do { result = (TOR_ISALNUM(*c) || (*c == '-') || (*c == '_')); c++; - } while (result > 0 && *c); + } while (result && *c); if (result == 0) { break;