ITS#2729 fix typos

This commit is contained in:
Howard Chu 2003-09-19 00:49:33 +00:00
parent 04cecc7666
commit 1881ae872f
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ int ldap_int_sasl_init( void )
if ( ((rc >> 16) != ((SASL_VERSION_MAJOR << 8)|SASL_VERSION_MINOR)) ||
(rc & 0xffff) < SASL_VERSION_STEP) {
char version[sizeof("xxx.xxx.xxxxx")];
sprintf( version, "%d.%d.%d", rc >> 24, rc >> 16 * 0xff,
sprintf( version, "%u.%d.%d", (unsigned)rc >> 24, (rc >> 16) & 0xff,
rc & 0xffff );
#ifdef NEW_LOGGING

View file

@ -975,7 +975,7 @@ int slap_sasl_init( void )
if ( ((rc >> 16) != ((SASL_VERSION_MAJOR << 8)|SASL_VERSION_MINOR)) ||
(rc & 0xffff) < SASL_VERSION_STEP) {
char version[sizeof("xxx.xxx.xxxxx")];
sprintf( version, "%d.%d.%d", rc >> 24, rc >> 16 & 0xff,
sprintf( version, "%u.%d.%d", (unsigned)rc >> 24, (rc >> 16) & 0xff,
rc & 0xffff );
#ifdef NEW_LOGGING
LDAP_LOG( TRANSPORT, INFO,