diff options
author | Jon Loeliger <jdl@netgate.com> | 2020-09-25 09:22:43 -0500 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-09-25 15:49:04 +0000 |
commit | 277d402bee6f4ad0ffe185515de44e6457a57a9e (patch) | |
tree | 44cc0e1453289b928c97a47fcac9a82c0aaf8233 /docs/gettingstarted/developers/bihash.md | |
parent | 18f0d3e7822f582b1b941b0dc5c3c44181493b5c (diff) |
docs: fix typo in bihash clib_bihash_search() documentation
Type: docs
Change-Id: Ic8c628141f8a24b857a654e2ea9129f5f97807b6
Signed-off-by: Jon Loeliger <jdl@netgate.com>
Diffstat (limited to 'docs/gettingstarted/developers/bihash.md')
-rw-r--r-- | docs/gettingstarted/developers/bihash.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/gettingstarted/developers/bihash.md b/docs/gettingstarted/developers/bihash.md index bc4dc1b1b34..3754d5f9fa3 100644 --- a/docs/gettingstarted/developers/bihash.md +++ b/docs/gettingstarted/developers/bihash.md @@ -201,9 +201,9 @@ The simplest possible (key, value) search goes like so: search_kv.key = key_to_add_or_delete; if (clib_bihash_search_8_8 (h, &search_kv, &return_kv) < 0) - key_not_found() - else key_not_found(); + else + key_found(); ``` Note that it's perfectly fine to collect the lookup result |