Skip to content

Commit

Permalink
Merge pull request #6 from nliviu/format
Browse files Browse the repository at this point in the history
Add missing format specifier
  • Loading branch information
rojer authored Jun 4, 2021
2 parents e0cb107 + 71d7ef5 commit ab2975b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mgos_homekit_adk_rpc_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static void mgos_hap_setup_handler(
cs_base64_encode(setupInfo.verifier, 384, verifier, NULL);
} else if (code == NULL && (salt != NULL && verifier != NULL)) {
if (!mgos_hap_setup_info_from_string(&setupInfo, salt, verifier)) {
mg_rpc_send_errorf(ri, 400, "invalid", "salt + verifier");
mg_rpc_send_errorf(ri, 400, "invalid %s", "salt + verifier");
ri = NULL;
goto out;
}
Expand Down

0 comments on commit ab2975b

Please sign in to comment.