]> git.sur5r.net Git - openldap/commitdiff
Fix typo in dec to bin conversion
authorHoward Chu <hyc@openldap.org>
Tue, 20 Nov 2007 18:14:17 +0000 (18:14 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 20 Nov 2007 18:14:17 +0000 (18:14 +0000)
libraries/liblutil/utils.c

index 50ab370d256a1b3cb2a4c24d7426cddd501806c5..7183e2725336aa665fd6cf17496847930501d0b0 100644 (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 );