diff options
author | David Goulet <dgoulet@torproject.org> | 2020-05-28 09:52:29 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-05-28 09:52:29 -0400 |
commit | 5922087ea89659b7be71867af93f8e912204f928 (patch) | |
tree | ac77019d7f2aefcab61a9fc07bd22ff207e87ecf /src/feature/hs | |
parent | 5d79b43717608b769ffda0a297bc0306bcceaa98 (diff) | |
parent | baee2feddd4504e0158795f729f151cdf9a2ca1b (diff) | |
download | tor-5922087ea89659b7be71867af93f8e912204f928.tar.gz tor-5922087ea89659b7be71867af93f8e912204f928.zip |
Merge branch 'tor-github/pr/1901'
Diffstat (limited to 'src/feature/hs')
-rw-r--r-- | src/feature/hs/hs_service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c index ab53d0082c..a42879a48f 100644 --- 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; } |