aboutsummaryrefslogtreecommitdiff
path: root/src/libauthsrv
diff options
context:
space:
mode:
authorDan Cross <cross@gajendra.net>2020-01-10 14:44:21 +0000
committerDan Cross <cross@gajendra.net>2020-01-10 14:54:30 +0000
commitfa325e9b42b0bdfb48857d1958d9fb7ceac55151 (patch)
tree81d26256d152435135bcb1ae43121979a49f5f2b /src/libauthsrv
parent77a0a5b5194d4441c86de097f2aae297cb75e2c2 (diff)
downloadplan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.gz
plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.bz2
plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.zip
Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
Diffstat (limited to 'src/libauthsrv')
-rw-r--r--src/libauthsrv/convM2T.c1
-rw-r--r--src/libauthsrv/convPR2M.c1
-rw-r--r--src/libauthsrv/convTR2M.c1
-rw-r--r--src/libauthsrv/readnvram.c5
4 files changed, 2 insertions, 6 deletions
diff --git a/src/libauthsrv/convM2T.c b/src/libauthsrv/convM2T.c
index 372825a8..427520a5 100644
--- a/src/libauthsrv/convM2T.c
+++ b/src/libauthsrv/convM2T.c
@@ -25,4 +25,3 @@ convM2T(char *ap, Ticket *f, char *key)
STRING(key, DESKEYLEN);
USED(p);
}
-
diff --git a/src/libauthsrv/convPR2M.c b/src/libauthsrv/convPR2M.c
index 8b2422f1..7efc0b2d 100644
--- a/src/libauthsrv/convPR2M.c
+++ b/src/libauthsrv/convPR2M.c
@@ -25,4 +25,3 @@ convPR2M(Passwordreq *f, char *ap, char *key)
encrypt(key, ap, n);
return n;
}
-
diff --git a/src/libauthsrv/convTR2M.c b/src/libauthsrv/convTR2M.c
index 3a7610a7..04000aad 100644
--- a/src/libauthsrv/convTR2M.c
+++ b/src/libauthsrv/convTR2M.c
@@ -24,4 +24,3 @@ convTR2M(Ticketreq *f, char *ap)
n = p - (uchar*)ap;
return n;
}
-
diff --git a/src/libauthsrv/readnvram.c b/src/libauthsrv/readnvram.c
index f65db984..337203f7 100644
--- a/src/libauthsrv/readnvram.c
+++ b/src/libauthsrv/readnvram.c
@@ -45,7 +45,7 @@ static char*
xreadcons(char *prompt, char *def, int secret, char *buf, int nbuf)
{
char *p;
-
+
p = readcons(prompt, def, secret);
if(p == nil)
return nil;
@@ -280,7 +280,7 @@ finddosfile(int fd, char *file)
if(rootsects <= 0 || rootsects > 64)
return -1;
- /*
+ /*
* read root. it is contiguous to make stuff like
* this easier
*/
@@ -305,4 +305,3 @@ finddosfile(int fd, char *file)
*/
return rootoff + rootsects*sectsize + (n-2)*sectsize*b->clustsize;
}
-