]> git.sur5r.net Git - openldap/commitdiff
<url> was used uninitialized
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 3 Sep 1999 20:19:18 +0000 (20:19 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 3 Sep 1999 20:19:18 +0000 (20:19 +0000)
libraries/libldif/line64.c

index f46007439f07911e60e6f75cd6f9e5ac8a9f7dbf..83da86f45d60e6788253b4ed2bc07f34fa985f02 100644 (file)
@@ -110,6 +110,9 @@ ldif_parse_line(
        }
        *s++ = '\0';
 
+       url = 0;
+       b64 = 0;
+
        if ( *s == '\0' ) {
                /* no value */
                value = NULL;
@@ -117,9 +120,6 @@ ldif_parse_line(
                goto done;
        }
                
-       url = 0;
-       b64 = 0;
-
        if ( *s == '<' ) {
                s++;
                url = 1;