projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45ae125
)
don't assign wrong enum to variable. Found by PVS-Studio
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 17 May 2017 15:35:20 +0000
(11:35 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Fri, 19 May 2017 18:06:53 +0000
(14:06 -0400)
src/modules/rlm_eap/libeap/eap_chbind.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_eap/libeap/eap_chbind.c
b/src/modules/rlm_eap/libeap/eap_chbind.c
index
e82669a
..
a8ecb51
100644
(file)
--- a/
src/modules/rlm_eap/libeap/eap_chbind.c
+++ b/
src/modules/rlm_eap/libeap/eap_chbind.c
@@
-207,9
+207,7
@@
PW_CODE chbind_process(REQUEST *request, CHBIND_REQ *chbind)
fake->server = "channel_bindings";
fake->packet->code = PW_CODE_ACCESS_REQUEST;
- rcode = rad_virtual_server(fake);
-
- switch (rcode) {
+ switch (rad_virtual_server(fake)) {
/* If rad_authenticate succeeded, build a reply */
case RLM_MODULE_OK:
case RLM_MODULE_HANDLED: