diff options
author | des <des@FreeBSD.org> | 2002-12-16 15:28:05 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-12-16 15:28:05 +0000 |
commit | 9c13a1ee5f744e6c21ae65cb3ed17e00d241a72f (patch) | |
tree | ecbdd15371b5e36058a6a262d89a55baf407a91c /contrib/openpam/lib/pam_get_data.c | |
parent | 7966ff24b5238d36ecd0fce943ba5db101374b4e (diff) | |
parent | 18c136aadd659f7b141653f3f614063e70bc59eb (diff) | |
download | FreeBSD-src-9c13a1ee5f744e6c21ae65cb3ed17e00d241a72f.zip FreeBSD-src-9c13a1ee5f744e6c21ae65cb3ed17e00d241a72f.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r107937,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/openpam/lib/pam_get_data.c')
-rw-r--r-- | contrib/openpam/lib/pam_get_data.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/openpam/lib/pam_get_data.c b/contrib/openpam/lib/pam_get_data.c index 8f1bc52..96038ca 100644 --- a/contrib/openpam/lib/pam_get_data.c +++ b/contrib/openpam/lib/pam_get_data.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_get_data.c#8 $ + * $P4: //depot/projects/openpam/lib/pam_get_data.c#9 $ */ #include <string.h> @@ -54,16 +54,15 @@ pam_get_data(pam_handle_t *pamh, { pam_data_t *dp; + ENTER(); if (pamh == NULL) - return (PAM_SYSTEM_ERR); - + RETURNC(PAM_SYSTEM_ERR); for (dp = pamh->module_data; dp != NULL; dp = dp->next) if (strcmp(dp->name, module_data_name) == 0) { *data = dp->data; - return (PAM_SUCCESS); + RETURNC(PAM_SUCCESS); } - - return (PAM_NO_MODULE_DATA); + RETURNC(PAM_NO_MODULE_DATA); } /* |