mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-02 11:27:48 +00:00
ucentral-tools: format radiusprobe.c with clang-format
Apply clang-format and fix code quality issues found by cppcheck: - Consistent pointer style - Standardise indentation and brace style - Improve code readability Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
|
#include <radcli/radcli.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <radcli/radcli.h>
|
|
||||||
|
|
||||||
int
|
int main(int argc, char **argv)
|
||||||
main(int argc, char **argv)
|
|
||||||
{
|
{
|
||||||
|
(void) argc;
|
||||||
|
(void) argv;
|
||||||
int result;
|
int result;
|
||||||
char username[128];
|
char username[128];
|
||||||
char passwd[AUTH_PASS_LEN + 1];
|
char passwd[AUTH_PASS_LEN + 1];
|
||||||
|
|||||||
Reference in New Issue
Block a user