diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-08-27 12:22:43 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-08-29 12:11:40 +0400 |
commit | ebbd6f580322767983ebf6b4049924d7e2de642f (patch) | |
tree | 6c10d3dda8d1e97437bceb88cc430addda56a011 /accel-pppd/auth/auth_pap.c | |
parent | fd379e46a8e41a1a41836922a376e462bb676b0f (diff) | |
download | accel-ppp-xebd-ebbd6f580322767983ebf6b4049924d7e2de642f.tar.gz accel-ppp-xebd-ebbd6f580322767983ebf6b4049924d7e2de642f.zip |
fix typo (successed -> succeeded)
Conflicts:
accel-pppd/ppp/ppp_auth.c
Diffstat (limited to 'accel-pppd/auth/auth_pap.c')
-rw-r--r-- | accel-pppd/auth/auth_pap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/auth/auth_pap.c b/accel-pppd/auth/auth_pap.c index 206ecde..08edbcb 100644 --- a/accel-pppd/auth/auth_pap.c +++ b/accel-pppd/auth/auth_pap.c @@ -13,7 +13,7 @@ #include "memdebug.h" #define MSG_FAILED "Authentication failed" -#define MSG_SUCCESSED "Authentication successed" +#define MSG_SUCCESSED "Authentication succeeded" #define HDR_LEN (sizeof(struct pap_hdr_t)-2) @@ -199,7 +199,7 @@ static int pap_recv_req(struct pap_auth_data_t *p, struct pap_hdr_t *hdr) peer_id = _strndup((const char*)peer_id, peer_id_len); if (conf_any_login) { - if (ppp_auth_successed(p->ppp, peer_id)) { + if (ppp_auth_succeeded(p->ppp, peer_id)) { pap_send_nak(p, hdr->id); ap_session_terminate(&p->ppp->ses, TERM_AUTH_ERROR, 0); _free(peer_id); @@ -232,7 +232,7 @@ static int pap_recv_req(struct pap_auth_data_t *p, struct pap_hdr_t *hdr) ret = -1; _free(peer_id); } else { - if (ppp_auth_successed(p->ppp, peer_id)) { + if (ppp_auth_succeeded(p->ppp, peer_id)) { pap_send_nak(p, hdr->id); ap_session_terminate(&p->ppp->ses, TERM_AUTH_ERROR, 0); _free(peer_id); |