From 54d79e995d5a6d0a393ed913b6e26dccc63de5b7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 15 Nov 1996 04:08:00 +0000 Subject: update from main archive 961114 --- nss/nss_files/files-XXX.c | 2 +- nss/nss_files/files-alias.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'nss/nss_files') diff --git a/nss/nss_files/files-XXX.c b/nss/nss_files/files-XXX.c index c741ab6f48..014e2729a4 100644 --- a/nss/nss_files/files-XXX.c +++ b/nss/nss_files/files-XXX.c @@ -201,7 +201,7 @@ CONCAT(_nss_files_get,ENTNAME_r) (struct STRUCTURE *result, if (stream == NULL) status = internal_setent (0); - if (status != NSS_STATUS_SUCCESS) + if (status == NSS_STATUS_SUCCESS) { /* If the last use was not by the getent function we need the position the stream. */ diff --git a/nss/nss_files/files-alias.c b/nss/nss_files/files-alias.c index c6ef49c621..2b0f292d66 100644 --- a/nss/nss_files/files-alias.c +++ b/nss/nss_files/files-alias.c @@ -20,6 +20,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3-70-g09d2