]> git.sur5r.net Git - openldap/blobdiff - libraries/libldif/line64.c
Update with latest from -devel.
[openldap] / libraries / libldif / line64.c
index 429e1d6ab18f6cf3027b45d20a89b7c071390283..7fae27961c3d2581f6bdbc66577f311063808f7d 100644 (file)
@@ -187,7 +187,7 @@ str_getline( char **next )
                        *(*next)++ = '\0';
                        break;
                }
-               *(*next)++;
+               (*next)++;
        }
 
        return( l );
@@ -215,7 +215,7 @@ put_type_and_value( char **out, char *t, char *val, int vlen )
        b64 = 0;
 
        stop = (unsigned char *) (val + vlen);
-       if ( isascii( val[0] ) && isspace( val[0] ) || val[0] == ':' ) {
+       if ( isascii( val[0] ) && (isspace( val[0] ) || val[0] == ':') ) {
                b64 = 1;
        } else {
                for ( byte = (unsigned char *) val; byte < stop;