commit 9288d9846770ab450405aeaf8c990c9f961e29eb
parent be1c9672cc596e2445a629ff209e7bacaeee84e9
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Sat, 19 Oct 2024 18:07:52 +0900
fix
Diffstat:
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/factotum.go b/factotum.go
@@ -9,11 +9,11 @@ import (
 )
 
 type AuthInfo struct {
-	string cuid    // caller id
-	string suid    // server id
-	string cap     // capability
-	int    nsecret // length of secret
-	string secret
+	cuid string   // caller id
+	suid string   // server id
+	cap  string     // capability
+	nsecret int // length of secret
+	secret string
 }
 
 func SetFactotum(s *Server, rpcpath string) error {
@@ -68,4 +68,4 @@ func runAuth(ctx context.Context, rpcfile *os.File, afile *AuthFile, r io.Reader
 			log.Printf("write to auth channel: %v", err)
 		}
 	}
-}
-\ No newline at end of file
+}