projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bridge: Check for null ofproto_controller_info pointer.
[openvswitch]
/
lib
/
shash.c
diff --git
a/lib/shash.c
b/lib/shash.c
index cc45efb5c8a29b906ac24bcaa4a975451821d829..82791e31f76e77445ff2bf771df6eb78ee4c687d 100644
(file)
--- a/
lib/shash.c
+++ b/
lib/shash.c
@@
-193,7
+193,7
@@
shash_find__(const struct shash *sh, const char *name, size_t hash)
{
struct shash_node *node;
- HMAP_FOR_EACH_WITH_HASH (node,
struct shash_node,
node, hash, &sh->map) {
+ HMAP_FOR_EACH_WITH_HASH (node, node, hash, &sh->map) {
if (!strcmp(node->name, name)) {
return node;
}