From: Automatic source maintenance Date: Sat, 6 Nov 2010 00:12:25 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: take1~104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7023a59aa97cd89d6f93d73078afbabc2ed29ca0;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/helpers/external_acl/eDirectory_userip/ext_edirectory_userip_acl.cc b/helpers/external_acl/eDirectory_userip/ext_edirectory_userip_acl.cc index 1e0fe718fa..f3c3d18583 100644 --- a/helpers/external_acl/eDirectory_userip/ext_edirectory_userip_acl.cc +++ b/helpers/external_acl/eDirectory_userip/ext_edirectory_userip_acl.cc @@ -1152,11 +1152,11 @@ int SearchFilterLDAP(edui_ldap_t *l, char *group) snprintf(bufb, sizeof(bufb), "(|(networkAddress=1\\23%s)", bufc); if (l->status & LDAP_IPV4_S) { int ln = snprintf(bufd, sizeof(bufd), "(networkAddress=8\\23\\00\\00%s)(networkAddress=9\\23\\00\\00%s))", \ - bufc, bufc); + bufc, bufc); strncat(bufb, bufd, ln); } else if (l->status & LDAP_IPV6_S) { int ln = snprintf(bufd, sizeof(bufd), "(networkAddress=10\\23\\00\\00%s)(networkAddress=11\\23\\00\\00%s))", \ - bufc, bufc); + bufc, bufc); strncat(bufb, bufd, ln); } else strncat(bufb, ")", 1); @@ -1178,11 +1178,11 @@ int SearchFilterLDAP(edui_ldap_t *l, char *group) snprintf(bufb, sizeof(bufb), "(|(networkAddress=1\\23%s)", bufc); if (l->status & LDAP_IPV4_S) { int ln = snprintf(bufd, sizeof(bufd), "(networkAddress=8\\23\\00\\00%s)(networkAddress=9\\23\\00\\00%s))", \ - bufc, bufc); + bufc, bufc); strncat(bufb, bufd, ln); } else if (l->status & LDAP_IPV6_S) { int ln = snprintf(bufd, sizeof(bufd), "(networkAddress=10\\23\\00\\00%s)(networkAddress=11\\23\\00\\00%s))", \ - bufc, bufc); + bufc, bufc); strncat(bufb, bufd, ln); } else strncat(bufb, ")", 1);