Skip to content

Commit

Permalink
eap_method_select returns eap_rcode_t, not eap_code_t
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Mar 20, 2013
1 parent ddca65b commit ff8341a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/rlm_eap/eap.c
Expand Up @@ -355,7 +355,7 @@ static eap_type_t eap_process_nak(rlm_eap_t *inst, REQUEST *request,
* @param handler State data that persists over multiple rounds of EAP.
* @return a status code.
*/
eap_code_t eap_method_select(rlm_eap_t *inst, eap_handler_t *handler)
eap_rcode_t eap_method_select(rlm_eap_t *inst, eap_handler_t *handler)
{
eap_type_data_t *type = &handler->eap_ds->response->type;
REQUEST *request = handler->request;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rlm_eap/rlm_eap.h
Expand Up @@ -93,7 +93,7 @@ typedef struct rlm_eap {
/* EAP-Type */
int eap_module_load(eap_module_t **instance, eap_type_t method,
CONF_SECTION *cs);
eap_code_t eap_method_select(rlm_eap_t *inst, eap_handler_t *handler);
eap_rcode_t eap_method_select(rlm_eap_t *inst, eap_handler_t *handler);

/* EAP */
int eap_start(rlm_eap_t *inst, REQUEST *request);
Expand Down

0 comments on commit ff8341a

Please sign in to comment.