Fix typo in dec to bin conversion

This commit is contained in:
Howard Chu 2007-11-20 18:14:17 +00:00
parent 7d060ec8fa
commit 9c8cf1bc04

View File

@ -755,7 +755,7 @@ lutil_str2bin( struct berval *in, struct berval *out )
scale( l, &num, tmp );
pin += chunk;
len -= chunk;
chunk = HEXMAX;
chunk = DECMAX;
}
if ( num.beg )
AC_MEMCPY( num.buf, num.buf+num.beg, num.len );