319 | @@ -320,7 +320,7 @@ Session::Reply Session::SendRequestAndGetReply(const Sock& sock,
320 |
321 | if (check_result_ok && reply.Get("RESULT") != "OK") {
322 | throw std::runtime_error(
323 | - strprintf("Unexpected reply to \"%s\": \"%s\"", request, reply.full));
324 | + strprintf("Unexpected reply to \"%s\": \"%s\"", reply.request, reply.full));
Not an issue introduced in this PR but we should not be logging the raw bytes of the I2P router's reply, either this should be escaped somehow or we should avoid logging it:
strprintf("Reply to \"%s\": had a RESULT not equal to OK.", reply.request));