From: Howard Chu Date: Tue, 20 Nov 2007 18:14:17 +0000 (+0000) Subject: Fix typo in dec to bin conversion X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~416 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9c8cf1bc045315270591c5b1bbad2b6be3398c76;p=openldap Fix typo in dec to bin conversion --- diff --git a/libraries/liblutil/utils.c b/libraries/liblutil/utils.c index 50ab370d25..7183e27253 100644 --- a/libraries/liblutil/utils.c +++ b/libraries/liblutil/utils.c @@ -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 );