diff options
author | Henning Baldersheim <balder@oath.com> | 2018-02-02 15:30:10 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-02-02 15:30:10 +0100 |
commit | 36e0c35d559375de02e5332c3b2de9c0c7e0bf84 (patch) | |
tree | 438fc3fd3d10366443b5958a32d5a5f7a12b5d7a | |
parent | 8d6c9b50c3c27df161c615ad0a955c3d11fc1400 (diff) |
Even though visually similar, semantic similarity of '1' and 'i' are close to zero.
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp b/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp index da936a9d7af..dac9753773c 100644 --- a/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp +++ b/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp @@ -124,7 +124,7 @@ DocsumContext::createSlimeReply() } } if (i != _docsumState._docsumcnt) { - const uint32_t numTimedOut = _docsumState._docsumcnt - 1; + const uint32_t numTimedOut = _docsumState._docsumcnt - i; Cursor & errors = root.setArray(ERRORS); Cursor & timeout = errors.addObject(); timeout.setString(TYPE, TIMEOUT); |