lib: netns checkstyle fix

A space is appended between RB_FOREACH and ' ', to comply with style
practiced in frr.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
Philippe Guibert 2018-02-13 10:03:43 +01:00
parent a2c999f21f
commit c485b14bdc

View File

@ -130,7 +130,7 @@ static struct ns *ns_lookup_name_internal(const char *name)
{
struct ns *ns = NULL;
RB_FOREACH(ns, ns_head, &ns_tree) {
RB_FOREACH (ns, ns_head, &ns_tree) {
if (ns->name != NULL) {
if (strcmp(name, ns->name) == 0)
return ns;
@ -328,7 +328,7 @@ void ns_walk_func(int (*func)(struct ns *))
{
struct ns *ns = NULL;
RB_FOREACH(ns, ns_head, &ns_tree)
RB_FOREACH (ns, ns_head, &ns_tree)
func(ns);
}