Remove unnecessary cast
authorAlan T. DeKok <aland@freeradius.org>
Mon, 6 May 2013 20:34:21 +0000 (16:34 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 6 May 2013 20:35:07 +0000 (16:35 -0400)
src/main/auth.c

index dd0b6db..7380465 100644 (file)
@@ -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));
                }