Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
e8c4add1
Commit
e8c4add1
authored
Oct 15, 2003
by
Kurt Zeilenga
Browse files
Use macro instead of sizeof
- p += sizeof(HEADER); + p += NS_HFIXEDSZ;
parent
f1e5201b
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/dnssrv.c
View file @
e8c4add1
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment