mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix snprintf() format
This commit is contained in:
parent
55fa9241a4
commit
05f5c7525b
@ -630,11 +630,11 @@ really_bad:;
|
||||
sres = slap_map_api2result( rs );
|
||||
|
||||
snprintf( buf, sizeof( buf ),
|
||||
"%s meta_back_search[%d] "
|
||||
"match=\"%s\" err=%d\n",
|
||||
"%s meta_back_search[%ld] "
|
||||
"match=\"%s\" err=%ld\n",
|
||||
op->o_log_prefix, i,
|
||||
candidates[ i ].sr_matched ? candidates[ i ].sr_matched : "",
|
||||
candidates[ i ].sr_err );
|
||||
(long) candidates[ i ].sr_err );
|
||||
Debug( LDAP_DEBUG_ANY, "%s", buf, 0, 0 );
|
||||
|
||||
switch ( sres ) {
|
||||
|
Loading…
Reference in New Issue
Block a user