shithub: riscv

Download patch

ref: 077a4dbe485b89b7f39dc84843bd421d862e486c
parent: c904d5bfa61090347c6a3b482c4ef8a0036026d5
author: mischief <mischief@offblast.org>
date: Tue Mar 4 02:46:16 EST 2014

cpu: remove unused connection directory buffer

--- a/sys/src/cmd/cpu.c
+++ b/sys/src/cmd/cpu.c
@@ -436,7 +436,6 @@
 rexcall(int *fd, char *host, char *service)
 {
 	char *na;
-	char dir[MaxStr];
 	char err[ERRMAX];
 	char msg[MaxStr];
 	int n;
@@ -443,7 +442,7 @@
 
 	na = netmkaddr(host, 0, service);
 	procsetname("dialing %s", na);
-	if((*fd = dial(na, 0, dir, 0)) < 0)
+	if((*fd = dial(na, 0, 0, 0)) < 0)
 		return "can't dial";
 
 	/* negotiate aan filter extension */