From ea480e74bbd559e448c1c8afc3f2abe6888351a4 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 24 May 2014 19:49:54 +0200 Subject: libauth: dont print blobs in auth_proxy error strings --- sys/src/libauth/auth_proxy.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/src/libauth/auth_proxy.c b/sys/src/libauth/auth_proxy.c index f96350f50..004e57332 100644 --- a/sys/src/libauth/auth_proxy.c +++ b/sys/src/libauth/auth_proxy.c @@ -163,14 +163,15 @@ fauth_proxy(int fd, AuthRpc *rpc, AuthGetkey *getkey, char *params) m = read(fd, buf + n, m - n); if(m <= 0){ if(m == 0) - werrstr("auth_proxy short read: %s", - buf); + werrstr("auth_proxy short read"); + else + werrstr("auth_proxy read fd: %r"); goto Error; } n += m; } if(ret != ARok){ - werrstr("auth_proxy rpc write: %s: %r", buf); + werrstr("auth_proxy rpc write: %r"); goto Error; } break; -- cgit v1.2.3