summaryrefslogtreecommitdiffstats
path: root/ax25/access.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 00:57:38 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-06-17 17:11:30 +0200
commit1245fbd2a8d60bab7b16b8a1d3c0122fee72f53f (patch)
tree6dcf938b1472a9b5cac35648ffb0f3d185c39590 /ax25/access.c
parent0b4425760be1f92a1f25daeb5d3dc91814a98622 (diff)
Nuke trailing whitespace.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/access.c')
-rw-r--r--ax25/access.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ax25/access.c b/ax25/access.c
index bf02b04..6fac554 100644
--- a/ax25/access.c
+++ b/ax25/access.c
@@ -214,14 +214,14 @@ void write_example_passwd(char *pwfile, char pwlocation, struct passwd *pw) {
close(i);
if ( ! (f = fopen(pwfile, "w")) )
return;
- fprintf(f, "# %s Password file for axspawn\n", (pwlocation == SYSTEMPW ? "System" : "User"));
+ fprintf(f, "# %s Password file for axspawn\n", (pwlocation == SYSTEMPW ? "System" : "User"));
if (pwlocation == SYSTEMPW) {
fprintf(f, "# disable user self-administered passwords in $HOME/.%s\n", PWFILE);
fprintf(f, "# with the line \"systempasswordonly\"\n");
fprintf(f, "# systempasswordonly\n");
}
fprintf(f, "# Examples (sys and md5 passwords may differ):\n");
- fprintf(f, "# md5 standard (secure) - length: >= %d and <= %d characters\n", MINPWLEN_MD5, PASSSIZE);
+ fprintf(f, "# md5 standard (secure) - length: >= %d and <= %d characters\n", MINPWLEN_MD5, PASSSIZE);
fprintf(f, "# %smd5:%s\n", (pwlocation == SYSTEMPW ? "username:" : ""), generate_rand_pw(MINPWLEN_MD5));
fprintf(f, "# sys/baycom standard (not very secure) - length: >= %d and <= %d characters\n", MINPWLEN_SYS, PASSSIZE);
fprintf(f, "# %ssys:%s\n", (pwlocation == SYSTEMPW ? "username:" : ""), generate_rand_pw(MINPWLEN_SYS));
@@ -373,7 +373,7 @@ char *read_pwd (struct passwd *pw, int *pwtype)
}
}
found:
-
+
if (!pass || !*pwtype)
goto end;