diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-10 20:24:20 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-10 20:24:20 +0200 |
commit | d71cf7ff1be5fe153dbee4ab8ea646dcd23406e0 (patch) | |
tree | ca4af21f19ec1c6107f2b7b130c680cfac03d39b /sys/src/libauth/auth_proxy.c | |
parent | 44cbb293088840d5813a69c6dc850b0444c4e27b (diff) |
libauth: remove unneeded includes for authsrv.h, avoid pulling in dependency for rerrstr()
Diffstat (limited to 'sys/src/libauth/auth_proxy.c')
-rw-r--r-- | sys/src/libauth/auth_proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/libauth/auth_proxy.c b/sys/src/libauth/auth_proxy.c index 004e57332..68987140a 100644 --- a/sys/src/libauth/auth_proxy.c +++ b/sys/src/libauth/auth_proxy.c @@ -128,8 +128,8 @@ fauth_proxy(int fd, AuthRpc *rpc, AuthGetkey *getkey, char *params) return nil; } - rerrstr(oerr, sizeof oerr); - werrstr("UNKNOWN AUTH ERROR"); + strcpy(oerr, "UNKNOWN AUTH ERROR"); + errstr(oerr, sizeof oerr); if(dorpc(rpc, "start", params, strlen(params), getkey) != ARok){ werrstr("fauth_proxy start: %r"); |