aboutsummaryrefslogtreecommitdiff
path: root/src/libauth
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/libauth
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/libauth')
-rw-r--r--src/libauth/attr.c1
-rw-r--r--src/libauth/auth_proxy.c3
-rw-r--r--src/libauth/auth_respond.c2
-rw-r--r--src/libauth/fsamount.c3
-rw-r--r--src/libauth/nsamount.c3
5 files changed, 4 insertions, 8 deletions
diff --git a/src/libauth/attr.c b/src/libauth/attr.c
index 8adeefe6..be8d1ad3 100644
--- a/src/libauth/attr.c
+++ b/src/libauth/attr.c
@@ -174,4 +174,3 @@ _strfindattr(Attr *a, char *n)
return nil;
return a->val;
}
-
diff --git a/src/libauth/auth_proxy.c b/src/libauth/auth_proxy.c
index 257bafe7..a5fe4411 100644
--- a/src/libauth/auth_proxy.c
+++ b/src/libauth/auth_proxy.c
@@ -5,7 +5,7 @@
#include <9pclient.h>
#include "authlocal.h"
-enum {
+enum {
ARgiveup = 100
};
@@ -291,4 +291,3 @@ fsauth_proxy(CFid *fid, AuthGetkey *getkey, char *fmt, ...)
auth_freerpc(rpc);
return ai;
}
-
diff --git a/src/libauth/auth_respond.c b/src/libauth/auth_respond.c
index b3cf6665..4e271900 100644
--- a/src/libauth/auth_respond.c
+++ b/src/libauth/auth_respond.c
@@ -61,5 +61,5 @@ auth_respond(void *chal, uint nchal, char *user, uint nuser, void *resp, uint nr
_freeattr(a);
auth_freerpc(rpc);
- return nresp;
+ return nresp;
}
diff --git a/src/libauth/fsamount.c b/src/libauth/fsamount.c
index bece208a..4cb33bbd 100644
--- a/src/libauth/fsamount.c
+++ b/src/libauth/fsamount.c
@@ -11,7 +11,7 @@ fsamount(int fd, char *aname)
CFid *afid, *fid;
AuthInfo *ai;
CFsys *fs;
-
+
fs = fsinit(fd);
if(fs == nil)
return nil;
@@ -30,4 +30,3 @@ noauth:
fssetroot(fs, fid);
return fs;
}
-
diff --git a/src/libauth/nsamount.c b/src/libauth/nsamount.c
index 1447904a..4e9b827a 100644
--- a/src/libauth/nsamount.c
+++ b/src/libauth/nsamount.c
@@ -11,7 +11,7 @@ nsamount(char *name, char *aname)
CFid *afid, *fid;
AuthInfo *ai;
CFsys *fs;
-
+
fs = nsinit(name);
if(fs == nil)
return nil;
@@ -30,4 +30,3 @@ noauth:
fssetroot(fs, fid);
return fs;
}
-