diff options
author | des <des@FreeBSD.org> | 2003-01-06 16:07:51 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-01-06 16:07:51 +0000 |
commit | 99ec0b3f5a42e8571fc3ca5a18a100073522946b (patch) | |
tree | 4e046ed575c1daa1c1da9f3cda1590f860a5ca1c /contrib/openpam/lib/pam_getenv.c | |
parent | 138c0848a793f880a77b15e403b446b1afd6baf5 (diff) | |
download | FreeBSD-src-99ec0b3f5a42e8571fc3ca5a18a100073522946b.zip FreeBSD-src-99ec0b3f5a42e8571fc3ca5a18a100073522946b.tar.gz |
Vendor import of OpenPAM Daffodil.
Diffstat (limited to 'contrib/openpam/lib/pam_getenv.c')
-rw-r--r-- | contrib/openpam/lib/pam_getenv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/openpam/lib/pam_getenv.c b/contrib/openpam/lib/pam_getenv.c index 1b4fd15..a00c7cf 100644 --- a/contrib/openpam/lib/pam_getenv.c +++ b/contrib/openpam/lib/pam_getenv.c @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/lib/pam_getenv.c#8 $ + * $P4: //depot/projects/openpam/lib/pam_getenv.c#10 $ */ #include <stdlib.h> @@ -56,12 +56,12 @@ pam_getenv(pam_handle_t *pamh, ENTER(); if (pamh == NULL) - RETURNC(NULL); + RETURNS(NULL); if (name == NULL || strchr(name, '=') != NULL) - RETURNC(NULL); + RETURNS(NULL); if ((i = openpam_findenv(pamh, name, strlen(name))) == -1) - RETURNC(NULL); - RETURNC(strdup(pamh->env[i])); + RETURNS(NULL); + RETURNS(strdup(pamh->env[i])); } /** |