projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51201aa
)
Move variable declaration to the start of the block
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 21 Sep 2010 09:09:44 +0000
(11:09 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 21 Sep 2010 09:09:44 +0000
(11:09 +0200)
src/main/auth.c
patch
|
blob
|
history
diff --git
a/src/main/auth.c
b/src/main/auth.c
index
b8f1edf
..
0545114
100644
(file)
--- a/
src/main/auth.c
+++ b/
src/main/auth.c
@@
-175,9
+175,10
@@
static int rad_check_password(REQUEST *request)
*/
cur_config_item = request->config_items;
while(((auth_type_pair = pairfind(cur_config_item, PW_AUTH_TYPE, 0))) != NULL) {
+ DICT_VALUE *dv;
auth_type = auth_type_pair->vp_integer;
auth_type_count++;
-
DICT_VALUE *
dv = dict_valbyattr(auth_type_pair->attribute,
+ dv = dict_valbyattr(auth_type_pair->attribute,
auth_type_pair->vp_integer, 0);
RDEBUG2("Found Auth-Type = %s",