Skip to content

Commit

Permalink
fix ingored return code
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Feb 8, 2017
1 parent 083214c commit a581c21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pam_radius_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,6 @@ static int pam_private_session(pam_handle_t *pamh, int flags, int argc, CONST ch
{
CONST char *user;
CONST char *rhost;
int ctrl;
int retval = PAM_AUTH_ERR;

char recv_buffer[4096];
Expand All @@ -1283,7 +1282,7 @@ static int pam_private_session(pam_handle_t *pamh, int flags, int argc, CONST ch
AUTH_HDR *response = (AUTH_HDR *) recv_buffer;
radius_conf_t config;

ctrl = _pam_parse(argc, argv, &config);
(void) _pam_parse(argc, argv, &config);

/* grab the user name */
retval = pam_get_user(pamh, &user, NULL);
Expand Down

0 comments on commit a581c21

Please sign in to comment.