]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
FilledCheclist::rfc931 is an array not a ptr
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Sep 2015 12:11:11 +0000 (05:11 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Sep 2015 12:11:11 +0000 (05:11 -0700)
src/external_acl.cc

index 62180b5b45a7af780692c1213f5f45af7e4a4933..7b89b3de78dc54e947ba51bb0beea24a38ac9d4c 100644 (file)
@@ -744,7 +744,7 @@ makeExternalAclKey(ACLFilledChecklist * ch, external_acl_data * acl_data)
         }
 
         if (t->type == Format::LFT_USER_IDENT) {
-            if (!ch->rfc931 || !*ch->rfc931) {
+            if (!*ch->rfc931) {
                 // if we fail to go async, we still return NULL and the caller
                 // will detect the failure in ACLExternal::match().
                 (void)ch->goAsync(IdentLookup::Instance());