Skip to content

Commit

Permalink
Merge branch 'master' of github.com:accel-ppp/accel-ppp
Browse files Browse the repository at this point in the history
  • Loading branch information
xebd committed Sep 24, 2021
2 parents 3b01433 + fb615c9 commit ff91c73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion accel-pppd/logs/log_file.c
Expand Up @@ -268,7 +268,7 @@ static struct ap_private *find_pd(struct ap_session *ses, void *pd_key)
struct list_head *pos, *next;

list_for_each_safe(pos, next, &ses->pd_list) {
pd = list_entry(pos->next, typeof(*pd), entry);
pd = list_entry(pos, typeof(*pd), entry);
if (pd->key == pd_key) {
return pd;
}
Expand Down
2 changes: 2 additions & 0 deletions accel-pppd/session.c
Expand Up @@ -278,6 +278,8 @@ void __export ap_session_terminate(struct ap_session *ses, int cause, int hard)
if (ses->terminating) {
if (hard)
ses->ctrl->terminate(ses, hard);
else if (ses->state == AP_STATE_FINISHING)
ses->ctrl->terminate(ses, 1);
return;
}

Expand Down

0 comments on commit ff91c73

Please sign in to comment.