summaryrefslogtreecommitdiff
path: root/src/tool/adduser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool/adduser.c')
-rw-r--r--src/tool/adduser.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tool/adduser.c b/src/tool/adduser.c
index b8f5d4718..592729df6 100644
--- a/src/tool/adduser.c
+++ b/src/tool/adduser.c
@@ -15,7 +15,8 @@ char *account_txt = "../save/account.txt";
//-----------------------------------------------------
// Function to suppress control characters in a string.
//-----------------------------------------------------
-int remove_control_chars(unsigned char *str) {
+int remove_control_chars(unsigned char *str)
+{
int i;
int change = 0;
@@ -29,8 +30,8 @@ int remove_control_chars(unsigned char *str) {
return change;
}
-int main(int argc, char *argv[]) {
-
+int main(int argc, char *argv[])
+{
char username[24];
char password[24];
char sex[2];