Skip to content

Commit

Permalink
XXX debug
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Nov 13, 2024
1 parent 5256c01 commit e1d965f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session/session-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ char *get_authorize_key (const char *json, const char *key, bool required)
* whitespace, everything is a string, and no escaped ".
*/
if (!json || *json++ != '\n' || *json++ != '{')
errx (EX, "authorize message doesn't start with \\n{");
errx (EX, "authorize message doesn't start with \\n{: '%s'", json);

char *key_match;
int key_match_len = asprintfx (&key_match, "\"%s\":\"", key);
Expand Down

0 comments on commit e1d965f

Please sign in to comment.