commit 32e791be09211feb8d6040bf8352bbc9b49e0bed Author: Neel Chauhan neel@neelc.org Date: Sat May 16 22:26:30 2020 -0700
Fix spacing in if statement in tor_version_parse() --- src/core/or/versions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/or/versions.c b/src/core/or/versions.c index a9a960d66..31f1f5b99 100644 --- a/src/core/or/versions.c +++ b/src/core/or/versions.c @@ -296,7 +296,7 @@ tor_version_parse(const char *s, tor_version_t *out) return -1; hexlen = (int)(close_paren-cp); memwipe(digest, 0, sizeof(digest)); - if ( hexlen == 0 || (hexlen % 2) == 1) + if (hexlen == 0 || (hexlen % 2) == 1) return -1; if (base16_decode(digest, hexlen/2, cp, hexlen) != hexlen/2) return -1;