From 9c8cf1bc045315270591c5b1bbad2b6be3398c76 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 20 Nov 2007 18:14:17 +0000 Subject: [PATCH] Fix typo in dec to bin conversion --- libraries/liblutil/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5