mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
Provide unique error message for ldap_parse_extended_result
This commit is contained in:
parent
71efc97f97
commit
5a654472f5
1 changed files with 1 additions and 3 deletions
|
|
@ -345,7 +345,6 @@ main( int argc, char *argv[] )
|
|||
|
||||
rc = ldap_parse_result( ld, res,
|
||||
&code, &matcheddn, &text, &refs, NULL, 0 );
|
||||
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
ldap_perror( ld, "ldap_parse_result" );
|
||||
rc = EXIT_FAILURE;
|
||||
|
|
@ -353,9 +352,8 @@ main( int argc, char *argv[] )
|
|||
}
|
||||
|
||||
rc = ldap_parse_extended_result( ld, res, &retoid, &retdata, 1 );
|
||||
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
ldap_perror( ld, "ldap_parse_result" );
|
||||
ldap_perror( ld, "ldap_parse_extended_result" );
|
||||
rc = EXIT_FAILURE;
|
||||
goto done;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue