Commit ffbaed36 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a81a235b
...@@ -183,17 +183,17 @@ void _Conn::_pin1(PinReq *req) { ...@@ -183,17 +183,17 @@ void _Conn::_pin1(PinReq *req) {
// XXX return error? // XXX return error?
// XXX defer: reply either ack or nak on error // XXX defer: reply either ack or nak on error
#if 0
// reply either ack or nak on error // reply either ack or nak on error
def _(): #if 0
defer([&]() {
ack = "ack" ack = "ack"
exc = sys.exc_info()[1] exc = sys.exc_info()[1]
if exc is not None: if exc is not None:
ack = "nak: %s" % exc ack = "nak: %s" % exc
#req.reply(ack) //req.reply(ack)
ctx = context.background() # XXX ok? ctx = context.background() // XXX ok?
wconn._wlink.replyReq(ctx, req, ack) wconn._wlink.replyReq(ctx, req, ack)
defer(_) });
#endif #endif
FileH f; FileH f;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment