diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-05-24 19:49:54 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-05-24 19:49:54 +0200 |
commit | ea480e74bbd559e448c1c8afc3f2abe6888351a4 (patch) | |
tree | a9d09c137305ac8b329b859363e6ca8a8e8c35f1 /sys/src/libauth | |
parent | 20883bd7de7097936fe87e5fce4d08033ea6c88c (diff) |
libauth: dont print blobs in auth_proxy error strings
Diffstat (limited to 'sys/src/libauth')
-rw-r--r-- | sys/src/libauth/auth_proxy.c | 7 |
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; |