From 310f4bf990afefbd05e761ebd4620ba927a332a6 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 25 Sep 2015 23:02:44 +0000 Subject: [PATCH] kdm: fix compiler warning --- kdm/backend/access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdm/backend/access.c b/kdm/backend/access.c index ae232276..b94cd722 100644 --- a/kdm/backend/access.c +++ b/kdm/backend/access.c @@ -356,7 +356,7 @@ matchAclEntry(ARRAY8Ptr clientAddress, CARD16 connectionType, int direct) int ne; for (e = accData->acList, ne = accData->nAcls, re = 0; ne; ne--, e++) - if (!e->nhosts == direct) + if (e->nhosts != direct) if (scanEntrylist(e->entries, e->nentries, clientAddress, connectionType, &clientName)) -- 2.11.0