From: Hallvard Furuseth Date: Tue, 3 Aug 1999 04:02:16 +0000 (+0000) Subject: s/*vlenp = NULL;/*vlenp = 0;/ X-Git-Tag: TWEB_OL_BASE~316 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f7fe39e5f24fe40bb20b0c955565dfd4f9cd3907;p=openldap s/*vlenp = NULL;/*vlenp = 0;/ --- diff --git a/libraries/libldif/fetch.c b/libraries/libldif/fetch.c index ffa0175dc4..3ccd80e764 100644 --- a/libraries/libldif/fetch.c +++ b/libraries/libldif/fetch.c @@ -59,7 +59,7 @@ ldif_fetch_url( #else *valuep = NULL; - *vlenp = NULL; + *vlenp = 0; return -1; #endif } diff --git a/libraries/libldif/line64.c b/libraries/libldif/line64.c index b087ec5592..f331b43c95 100644 --- a/libraries/libldif/line64.c +++ b/libraries/libldif/line64.c @@ -66,7 +66,7 @@ ldif_parse_line( *typep = NULL; *valuep = NULL; - *vlenp = NULL; + *vlenp = 0; /* skip any leading space */ while ( isspace( (unsigned char) *line ) ) {