Commit e8c4add1 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Use macro instead of sizeof

-       p += sizeof(HEADER);
+       p += NS_HFIXEDSZ;
parent f1e5201b
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment