Terminate the environment list, and log the number of variables.
Sponsored by: DARPA, NAI Labs git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@67 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
b6536adc2e
commit
246b7f5d29
|
@ -73,6 +73,8 @@ pam_getenvlist(pam_handle_t *pamh)
|
|||
return (NULL);
|
||||
}
|
||||
}
|
||||
envlist[i] = NULL;
|
||||
openpam_log(PAM_LOG_DEBUG, "returning %d variables\n", pamh->env_count);
|
||||
return (envlist);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue