#%*&*@#(@ sun

This commit is contained in:
Russ Cox
2006-05-21 17:02:05 +00:00
parent ee4955c879
commit 1125f094ce
29 changed files with 563 additions and 44 deletions

View File

@ -106,7 +106,7 @@ dorpc(AuthRpc *rpc, char *verb, char *val, int len, AuthGetkey *getkey)
for(;;){
if((ret = auth_rpc(rpc, verb, val, len)) != ARneedkey && ret != ARbadkey)
return ret;
if(getkey == nil)
if(getkey == 0)
return ARgiveup; /* don't know how */
if((*getkey)(rpc->arg) < 0)
return ARgiveup; /* user punted */