From ae128056e9bb1b52e3b6c3263f5f7fd83efa5c3a Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Fri, 12 May 2006 23:15:30 +0000 Subject: [ospfd] Fix small error in CID #13 commit 2006-05-13 Paul Jakma * ospf_lsa.c: (ospf_translated_nssa_refresh) fix the sanity check to match the assert, small error in CID #13 fix. --- ospfd/ospf_lsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospfd/ospf_lsa.c') diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index d2f593e5..7c3be3d6 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -2002,7 +2002,7 @@ ospf_translated_nssa_refresh (struct ospf *ospf, struct ospf_lsa *type7, /* Sanity checks. */ assert (type7 || type5); - if (!type7 || !type5) + if (!(type7 || type5)) return NULL; if (type7) assert (type7->data); -- cgit v1.2.1