projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c903cb6
)
Remove unnecessary cast
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 6 May 2013 20:34:21 +0000
(16:34 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 6 May 2013 20:35:07 +0000
(16:35 -0400)
src/main/auth.c
patch
|
blob
|
history
diff --git
a/src/main/auth.c
b/src/main/auth.c
index
dd0b6db
..
7380465
100644
(file)
--- a/
src/main/auth.c
+++ b/
src/main/auth.c
@@
-121,7
+121,7
@@
static int rad_authlog(char const *msg, REQUEST *request, int goodpass)
} else if (pairfind(request->packet->vps, PW_CHAP_PASSWORD, 0, TAG_ANY)) {
strcpy(clean_password, "<CHAP-Password>");
} else {
- fr_print_string(
(char *)
request->password->vp_strvalue,
+ fr_print_string(request->password->vp_strvalue,
request->password->length,
clean_password, sizeof(clean_password));
}