]> git.sur5r.net Git - openldap/commitdiff
Cleanup prev commit
authorHoward Chu <hyc@openldap.org>
Fri, 30 Nov 2007 18:25:45 +0000 (18:25 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 30 Nov 2007 18:25:45 +0000 (18:25 +0000)
libraries/liblutil/utils.c

index 8e87ce44cc35ec403f7f8070e6ce6faa55a0c611..089519e7450dfe516c329bbaaaad6524fde7a790 100644 (file)
@@ -645,10 +645,7 @@ scale( int new, lutil_int_decnum *prev, unsigned char *tmp )
                new += out[i];
                out[i] = new & 0xff;
                new >>= 8;
-               if (!new )
-                       break;
        }
-       i--;
        prev->beg = prev->bufsiz + i;
        prev->len = -i;
        AC_MEMCPY( prev->buf+prev->beg, tmp+prev->beg, prev->len );