]> git.sur5r.net Git - openldap/commitdiff
minor cleanup
authorPierangelo Masarati <ando@openldap.org>
Sat, 6 Oct 2007 15:40:55 +0000 (15:40 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 6 Oct 2007 15:40:55 +0000 (15:40 +0000)
libraries/liblutil/utils.c

index 1c6fd0e294970a111f19ee1b8a322623c58d5369..50ab370d256a1b3cb2a4c24d7426cddd501806c5 100644 (file)
@@ -677,13 +677,15 @@ lutil_str2bin( struct berval *in, struct berval *out )
        pout = out->bv_val;
        /* Leading "0x" for hex input */
        if ( in->bv_len > 2 && in->bv_val[0] == '0' &&
-               ( in->bv_val[1] == 'x' || in->bv_val[1] == 'X' )) {
+               ( in->bv_val[1] == 'x' || in->bv_val[1] == 'X' ) )
+       {
                len = in->bv_len - 2;
                pin = in->bv_val + 2;
                hex = 1;
        } else if ( in->bv_len > 3 && in->bv_val[0] == '\'' &&
-               ( in->bv_val[in->bv_len-2] == '\'' &&
-               in->bv_val[in->bv_len-1] == 'H' )) {
+               in->bv_val[in->bv_len-2] == '\'' &&
+               in->bv_val[in->bv_len-1] == 'H' )
+       {
                len = in->bv_len - 3;
                pin = in->bv_val + 1;
                hex = 1;