shithub: riscv

Download patch

ref: 675870f9b13501d8eea0c4e4339a951567021672
parent: 05f9a66fd4ea4a3744847d354bda9a1f4aefcdbc
author: cinap_lenrek <[email protected]>
date: Fri Aug 2 15:06:23 EDT 2019

libauth: do not set errstr in auth_rpc() for ARdone result (thanks majiru)

--- a/sys/src/libauth/auth_rpc.c
+++ b/sys/src/libauth/auth_rpc.c
@@ -90,7 +90,7 @@
 		werrstr("unknown rpc type %d (bug in auth_rpc.c)", type);
 		break;
 	case ARok:
-		break;
+	case ARdone:
 	case ARrpcfailure:
 		break;
 	case ARerror: