cpu: don't print spurious errstr for bad auth method, fix comment
This commit is contained in:
parent
b699f9664b
commit
78c7ba36a1
1 changed files with 2 additions and 2 deletions
|
@ -327,7 +327,7 @@ old9p(int fd)
|
|||
return p[1];
|
||||
}
|
||||
|
||||
/* Invoked with stdin, stdout and stderr connected to the network connection */
|
||||
/* Invoked with stdin and stdout connected to the network connection */
|
||||
void
|
||||
remoteside(int old)
|
||||
{
|
||||
|
@ -352,7 +352,7 @@ remoteside(int old)
|
|||
}
|
||||
if(setamalg(cmd) < 0){
|
||||
writestr(fd, "unsupported auth method", nil, 0);
|
||||
fatal("bad auth method %s: %r", cmd);
|
||||
fatal("bad auth method %s", cmd);
|
||||
} else
|
||||
writestr(fd, "", "", 1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue