Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0919ff5f authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 6045 into donut

* changes:
  Remove the null-termination for Java string compatibility.
parents cdf34e02 7bd460b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -142,7 +142,7 @@ static void do_get_state(LPC_MARSHAL *cmd, LPC_MARSHAL *reply)
static void do_listkeys(LPC_MARSHAL *cmd, LPC_MARSHAL *reply)
{
    reply->retcode = list_keys((const char*)cmd->data, (char*)reply->data);
    if (!reply->retcode) reply->len = strlen((char*)reply->data) + 1;
    if (!reply->retcode) reply->len = strlen((char*)reply->data);
}

// args of get():