Skip to content

Commit

Permalink
dccp: Fix bracing in dccp_feat_list_lookup.
Browse files Browse the repository at this point in the history
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Gerrit Renker authored and David S. Miller committed Nov 20, 2008
1 parent f4bdd26 commit 3d3e35a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/dccp/feat.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,12 @@ static struct dccp_feat_entry *dccp_feat_list_lookup(struct list_head *fn_list,
{
struct dccp_feat_entry *entry;

list_for_each_entry(entry, fn_list, node)
list_for_each_entry(entry, fn_list, node) {
if (entry->feat_num == feat_num && entry->is_local == is_local)
return entry;
else if (entry->feat_num > feat_num)
break;
}
return NULL;
}

Expand Down

0 comments on commit 3d3e35a

Please sign in to comment.