diff options
author | Neel Chauhan <neel@neelc.org> | 2020-05-16 22:26:30 -0700 |
---|---|---|
committer | Neel Chauhan <neel@neelc.org> | 2020-05-16 22:26:30 -0700 |
commit | 32e791be09211feb8d6040bf8352bbc9b49e0bed (patch) | |
tree | 6cc18ec8853a591505678f3c98a3a43ed3e3400a /src/core/or/versions.c | |
parent | db4815dd8e7477803bc29c89284a7641b20ab5ba (diff) | |
download | tor-32e791be09211feb8d6040bf8352bbc9b49e0bed.tar.gz tor-32e791be09211feb8d6040bf8352bbc9b49e0bed.zip |
Fix spacing in if statement in tor_version_parse()
Diffstat (limited to 'src/core/or/versions.c')
-rw-r--r-- | src/core/or/versions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/versions.c b/src/core/or/versions.c index a9a960d66e..31f1f5b997 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; |