mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Use macro instead of sizeof
- p += sizeof(HEADER); + p += NS_HFIXEDSZ;
This commit is contained in:
parent
f1e5201bf7
commit
e8c4add1a3
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ int ldap_domain2hostlist(
|
|||
|
||||
/* Parse out query */
|
||||
p = reply;
|
||||
p += sizeof(HEADER);
|
||||
p += NS_HFIXEDSZ;
|
||||
status = dn_expand(reply, reply + len, p, host, sizeof(host));
|
||||
if (status < 0) {
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Reference in a new issue