summaryrefslogtreecommitdiff
path: root/sys/src/libauth
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-05-24 19:49:54 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-05-24 19:49:54 +0200
commitea480e74bbd559e448c1c8afc3f2abe6888351a4 (patch)
treea9d09c137305ac8b329b859363e6ca8a8e8c35f1 /sys/src/libauth
parent20883bd7de7097936fe87e5fce4d08033ea6c88c (diff)
libauth: dont print blobs in auth_proxy error strings
Diffstat (limited to 'sys/src/libauth')
-rw-r--r--sys/src/libauth/auth_proxy.c7
1 files 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;