mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
factotum: add proto-specific key prompt
R=rsc http://codereview.appspot.com/3852042
This commit is contained in:
parent
3e899d0203
commit
a2f6b810f5
1 changed files with 2 additions and 0 deletions
|
@ -245,6 +245,8 @@ convneedkey(Conv *c, Attr *a)
|
|||
*/
|
||||
if(convgetrpc(c, -1) == nil)
|
||||
return -1;
|
||||
if(conv->proto)
|
||||
a = addattrs(parseattr(c->proto->keyprompt), a);
|
||||
flog("convneedkey %A", a);
|
||||
rpcrespond(c, "needkey %A", a);
|
||||
if(convgetrpc(c, -1) == nil)
|
||||
|
|
Loading…
Reference in a new issue