From b63b01f50471976c22745c7293b88e6bc68e7258 Mon Sep 17 00:00:00 2001 From: "James R. Leu" Date: Mon, 16 May 2005 20:50:47 -0600 Subject: [PATCH] White space cleanup and logic clearification, no functional change [git-p4: depot-paths = "//depot/ldp-portable/": change = 1150] --- ldp/ldp_cfg.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ldp/ldp_cfg.c b/ldp/ldp_cfg.c index 69b8c74..8f73633 100644 --- a/ldp/ldp_cfg.c +++ b/ldp/ldp_cfg.c @@ -1301,7 +1301,7 @@ mpls_return_enum ldp_cfg_fec_set(mpls_cfg_handle handle, mpls_fec * f, ldp_nexthop *nh; mpls_return_enum retval = MPLS_FAILURE; - MPLS_ASSERT(global !=NULL && f != NULL); + MPLS_ASSERT(global != NULL && f != NULL); LDP_ENTER(global->user_data, "ldp_cfg_fec_set"); @@ -1462,7 +1462,7 @@ mpls_return_enum ldp_cfg_fec_nexthop_set(mpls_cfg_handle handle, mpls_fec * f, ldp_nexthop *nh = NULL; mpls_return_enum retval = MPLS_FAILURE; - MPLS_ASSERT(global !=NULL && f != NULL && n != NULL); + MPLS_ASSERT(global != NULL && f != NULL && n != NULL); LDP_ENTER(global->user_data, "ldp_cfg_fec_nexthop_set"); @@ -1716,7 +1716,7 @@ mpls_return_enum ldp_cfg_if_addr_set(mpls_cfg_handle handle, ldp_if * i, ldp_addr *addr = NULL; mpls_return_enum retval = MPLS_FAILURE; - MPLS_ASSERT(global !=NULL && i != NULL && a != NULL); + MPLS_ASSERT(global != NULL && i != NULL && a != NULL); LDP_ENTER(global->user_data, "ldp_cfg_if_addr_set"); @@ -1731,8 +1731,8 @@ mpls_return_enum ldp_cfg_if_addr_set(mpls_cfg_handle handle, ldp_if * i, goto ldp_cfg_if_addr_set_end; if (flag & LDP_CFG_ADD) { - if (ldp_if_addr_find(iff, &a->address) || (addr = ldp_addr_create(global, - &a->address)) == NULL) { + if (ldp_if_addr_find(iff, &a->address) || ((addr = ldp_addr_create(global, + &a->address)) == NULL)) { goto ldp_cfg_if_addr_set_end; } a->index = addr->index; @@ -1751,7 +1751,7 @@ mpls_return_enum ldp_cfg_if_addr_set(mpls_cfg_handle handle, ldp_if * i, } if (flag & LDP_CFG_DEL) { - ldp_if_del_addr(global, iff ,addr); + ldp_if_del_addr(global, iff, addr); } retval = MPLS_SUCCESS; @@ -1773,7 +1773,7 @@ mpls_return_enum ldp_cfg_adj_get(mpls_cfg_handle handle, ldp_adj * a, ldp_adj *adj = NULL; mpls_return_enum retval = MPLS_FAILURE; - MPLS_ASSERT(global !=NULL && a != NULL); + MPLS_ASSERT(global != NULL && a != NULL); LDP_ENTER(global->user_data, "ldp_cfg_adj_get"); -- 2.11.4.GIT