From 4c6469a9fd820db713251a645ac2499782f796ed Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Wed, 8 Sep 2010 15:51:29 +0400 Subject: radius: implemented packet exchange radius: implemented PAP authorization radius: implemented IP assigning triton: implemented userspace context switching and other stuff --- accel-pptpd/auth/auth_mschap_v1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accel-pptpd/auth/auth_mschap_v1.c') diff --git a/accel-pptpd/auth/auth_mschap_v1.c b/accel-pptpd/auth/auth_mschap_v1.c index 1cf5eb8b..595fb15e 100644 --- a/accel-pptpd/auth/auth_mschap_v1.c +++ b/accel-pptpd/auth/auth_mschap_v1.c @@ -282,8 +282,8 @@ static int chap_check_response(struct chap_auth_data_t *ad, struct chap_response char *name; int i; - name=strndup(msg->name,ntohs(msg->hdr.len)-sizeof(*msg)+2); - passwd=pwdb_get_passwd(ad->ppp,name); + name = strndup(msg->name,ntohs(msg->hdr.len)-sizeof(*msg)+2); + passwd = pwdb_get_passwd(ad->ppp,name); if (!passwd) { free(name); -- cgit v1.2.3