Skip to content

Commit

Permalink
Fix argument order when calling the responder
Browse files Browse the repository at this point in the history
  • Loading branch information
npmccallum authored and greghudson committed Oct 10, 2012
1 parent 3094118 commit 1390ccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/krb5/krb/preauth2.c
Original file line number Diff line number Diff line change
Expand Up @@ -929,8 +929,8 @@ krb5_do_preauth(krb5_context context, krb5_kdc_req *request,

/* Call the responder to answer response items. */
if (responder != NULL && !k5_response_items_empty(rock->rctx.items)) {
ret = (*responder)(context, opte->opt_private->responder_data,
&rock->rctx);
ret = (*responder)(context, &rock->rctx,
opte->opt_private->responder_data);
if (ret)
goto error;
}
Expand Down

0 comments on commit 1390ccb

Please sign in to comment.