mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix rev 1.49
This commit is contained in:
parent
0189fcc32a
commit
14573820ec
@ -638,9 +638,6 @@ scale( int new, lutil_int_decnum *prev, unsigned char *tmp )
|
||||
part >>= 8;
|
||||
}
|
||||
}
|
||||
j++;
|
||||
prev->beg += j;
|
||||
prev->len -= j;
|
||||
}
|
||||
|
||||
out = tmp + prev->bufsiz - 1;
|
||||
@ -651,11 +648,9 @@ scale( int new, lutil_int_decnum *prev, unsigned char *tmp )
|
||||
if (!new )
|
||||
break;
|
||||
}
|
||||
if ( !prev->len ) {
|
||||
prev->beg += i;
|
||||
prev->len = -i;
|
||||
prev->len++;
|
||||
}
|
||||
i--;
|
||||
prev->beg = prev->bufsiz + i;
|
||||
prev->len = -i;
|
||||
AC_MEMCPY( prev->buf+prev->beg, tmp+prev->beg, prev->len );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user