From 527cdb3dabdc3e52788c70d65c37ef811baab7c4 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 12 Jun 2019 11:11:28 -0400 Subject: [PATCH] Corrected error in detecting S and M. --- base/netcmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/netcmp.c b/base/netcmp.c index 301afde..21d048c 100644 --- a/base/netcmp.c +++ b/base/netcmp.c @@ -4871,9 +4871,9 @@ PropertyCheckMismatch(struct objlist *tp1, struct nlist *tc1, kl2 = &klm; else if (vl2 == &svl) kl2 = &kls; - else if (vl1 == &mvl) + else if ((*matchfunc)(vl2->key, mvl.key)) kl2 = &klm; - else if (vl1 == &svl) + else if ((*matchfunc)(vl2->key, svl.key)) kl2 = &kls; else continue;