mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-01 11:29:27 -05:00
Fix rev 1.49
This commit is contained in:
parent
0189fcc32a
commit
14573820ec
1 changed files with 3 additions and 8 deletions
|
|
@ -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 a new issue