shithub: tlsclient

Download patch

ref: 721c69b2b23bbc846aa0c6cfadcc135830d5d0c9
parent: 1091ff45d45553ea1c094094961b86dbe20c1fb9
author: Jacob Moody <moody@posixcafe.org>
date: Sun Jul 9 05:38:23 EDT 2023

auth server is not strictly required

this is useful for those running jank.

--- a/cpu.c
+++ b/cpu.c
@@ -146,7 +146,7 @@
 	if(Rflag)
 		port = "17019";
 
-	if(user == nil || host == nil || authserver == nil || port == nil)
+	if(user == nil || host == nil || port == nil)
 		usage();
 
 	if(pass == nil){
--- a/p9any.c
+++ b/p9any.c
@@ -64,9 +64,6 @@
 
 		break;  /* okay we got one */
 	}
-	if (s == -1) {
-		err(1, "%s", cause);
-	}
 	return s;
 }