Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
c3443f9d
Commit
c3443f9d
authored
Jun 18, 1999
by
Kurt Zeilenga
Browse files
s/NULLMSG/NULL/
parent
e462531f
Changes
1
Show whitespace changes
Inline
Side-by-side
libraries/libldap/test.c
View file @
c3443f9d
...
...
@@ -575,7 +575,7 @@ main( int argc, char **argv )
printf
(
"
\n
result: msgtype %d msgid %d
\n
"
,
msgtype
,
res
->
lm_msgid
);
handle_result
(
ld
,
res
);
res
=
NULL
MSG
;
res
=
NULL
;
break
;
case
'm'
:
/* remove */
...
...
@@ -618,7 +618,7 @@ main( int argc, char **argv )
printf
(
"
\n
result: msgid %d
\n
"
,
res
->
lm_msgid
);
handle_result
(
ld
,
res
);
res
=
NULL
MSG
;
res
=
NULL
;
}
#endif
/* LDAP_CONNECTIONLESS */
}
else
{
...
...
@@ -663,7 +663,7 @@ main( int argc, char **argv )
else
{
printf
(
"
\n
result: err %d
\n
"
,
id
);
handle_result
(
ld
,
res
);
res
=
NULL
MSG
;
res
=
NULL
;
}
free_list
(
types
);
break
;
...
...
@@ -912,7 +912,7 @@ print_search_entry( LDAP *ld, LDAPMessage *res )
{
LDAPMessage
*
e
;
for
(
e
=
ldap_first_entry
(
ld
,
res
);
e
!=
NULL
MSG
;
for
(
e
=
ldap_first_entry
(
ld
,
res
);
e
!=
NULL
;
e
=
ldap_next_entry
(
ld
,
e
)
)
{
BerElement
*
ber
=
NULL
;
...
...
@@ -972,6 +972,6 @@ print_search_entry( LDAP *ld, LDAPMessage *res )
}
if
(
res
->
lm_msgtype
==
LDAP_RES_SEARCH_RESULT
||
res
->
lm_chain
!=
NULL
MSG
)
||
res
->
lm_chain
!=
NULL
)
print_ldap_result
(
ld
,
res
,
"search"
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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