Commit 0be25253 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 6b4a2672
...@@ -364,12 +364,9 @@ error _WatchLink::recvReq(context::Context ctx, PinReq *prx) { ...@@ -364,12 +364,9 @@ error _WatchLink::recvReq(context::Context ctx, PinReq *prx) {
// _parsePinReq parses message into PinReq according to wcfs isolation protocol. // _parsePinReq parses message into PinReq according to wcfs isolation protocol.
static error _parsePinReq(PinReq *pin, const rxPkt *pkt) { static error _parsePinReq(PinReq *pin, const rxPkt *pkt) {
//printf("parse pinreq: stream=%lu msg='%s'\n", pkt->stream, &pkt->data[0]);
pin->stream = pkt->stream; pin->stream = pkt->stream;
string msg = pkt->to_string(); string msg = pkt->to_string();
pin->msg = msg; pin->msg = msg;
//printf("'%s'\n", v(msg));
//printf("has_prefix: %i\n", strings::has_prefix(msg, "pin "));
xerr::Contextf E("bad pin: '%s'", v(msg)); xerr::Contextf E("bad pin: '%s'", v(msg));
......
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