tor

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

commit 5922087ea89659b7be71867af93f8e912204f928
parent 5d79b43717608b769ffda0a297bc0306bcceaa98
Author: David Goulet <dgoulet@torproject.org>
Date:   Thu, 28 May 2020 09:52:29 -0400

Merge branch 'tor-github/pr/1901'

Diffstat:
Msrc/feature/hs/hs_service.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c @@ -3115,7 +3115,7 @@ log_cant_upload_desc(const hs_service_t *service, * control that value in the code flow but will be apparent during * development if a reason is added but LOG_DESC_UPLOAD_REASON_NUM_ is not * updated. */ - if (BUG(reason > LOG_DESC_UPLOAD_REASON_MAX || reason < 0)) { + if (BUG(reason > LOG_DESC_UPLOAD_REASON_MAX)) { return; }