Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
docs: fix typo in bihash clib_bihash_search() documentation
[vpp.git]
/
docs
/
gettingstarted
/
developers
/
bihash.md
diff --git
a/docs/gettingstarted/developers/bihash.md
b/docs/gettingstarted/developers/bihash.md
index
bc4dc1b
..
3754d5f
100644
(file)
--- 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