Skip to content

Commit

Permalink
Fix parenting issue in paircmp.c
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Aug 14, 2014
1 parent dc23e04 commit 58f359c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_expr/paircmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static int presufcmp(UNUSED void *instance,
* If "request" is NULL, then the memory will be
* lost!
*/
vp = radius_paircreate(req, &request, PW_STRIPPED_USER_NAME, 0);
vp = radius_paircreate(req->packet, &request, PW_STRIPPED_USER_NAME, 0);
if (!vp) return ret;
req->username = vp;
}
Expand Down

0 comments on commit 58f359c

Please sign in to comment.