mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
for ITS#5317: initialize exit code for -f/dev/null
This commit is contained in:
parent
db6001ddeb
commit
f150ef3edd
1 changed files with 1 additions and 0 deletions
|
|
@ -981,6 +981,7 @@ getNextPage:
|
||||||
attrs, attrsonly, NULL, NULL, NULL, -1 );
|
attrs, attrsonly, NULL, NULL, NULL, -1 );
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
rc = 0;
|
||||||
first = 1;
|
first = 1;
|
||||||
while ( fgets( line, sizeof( line ), fp ) != NULL ) {
|
while ( fgets( line, sizeof( line ), fp ) != NULL ) {
|
||||||
line[ strlen( line ) - 1 ] = '\0';
|
line[ strlen( line ) - 1 ] = '\0';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue