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/ppp | |
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/ppp')
-rw-r--r-- | accel-pppd/ppp/ppp_auth.c | 4 | ||||
-rw-r--r-- | accel-pppd/ppp/ppp_auth.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/ppp/ppp_auth.c b/accel-pppd/ppp/ppp_auth.c index 805bf74..2b4aff9 100644 --- a/accel-pppd/ppp/ppp_auth.c +++ b/accel-pppd/ppp/ppp_auth.c @@ -333,11 +333,11 @@ static void __ppp_auth_started(struct ppp_t *ppp) ppp_layer_started(ppp, &ad->ld); - log_ppp_info1("%s: authentication successed\n", ppp->ses.username); + log_ppp_info1("%s: authentication succeeded\n", ppp->ses.username); triton_event_fire(EV_SES_AUTHORIZED, ppp); } -int __export ppp_auth_successed(struct ppp_t *ppp, char *username) +int __export ppp_auth_succeeded(struct ppp_t *ppp, char *username) { struct ap_session *ses; struct auth_layer_data_t *ad = container_of(ppp_find_layer_data(ppp, &auth_layer), typeof(*ad), ld); diff --git a/accel-pppd/ppp/ppp_auth.h b/accel-pppd/ppp/ppp_auth.h index b6a7b14..af98262 100644 --- a/accel-pppd/ppp/ppp_auth.h +++ b/accel-pppd/ppp/ppp_auth.h @@ -29,7 +29,7 @@ struct ppp_auth_handler_t int ppp_auth_register_handler(struct ppp_auth_handler_t*); -int ppp_auth_successed(struct ppp_t *ppp, char *username); +int ppp_auth_succeeded(struct ppp_t *ppp, char *username); void ppp_auth_failed(struct ppp_t *ppp, char *username); int ppp_auth_restart(struct ppp_t *ppp); |