1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

lejp: use string path matches in test app

This commit is contained in:
Andy Green 2021-11-06 08:12:31 +00:00
parent 555503b202
commit 12a3e09f40

View file

@ -78,9 +78,9 @@ cb(struct lejp_ctx *ctx, char reason)
break;
}
lwsl_notice("%s%s: path %s match %d statckp %d\r\n", buf, reason_names[(unsigned int)
lwsl_notice("%s%s: path %s match '%s' statckp %d, ipos %d\r\n", buf, reason_names[(unsigned int)
(reason) & (LEJP_FLAG_CB_IS_VALUE - 1)], ctx->path,
ctx->path_match, ctx->pst[ctx->pst_sp].ppos);
ctx->path_match ? tok[ctx->path_match - 1] : "(none)", ctx->pst[ctx->pst_sp].ppos, ctx->ipos);
return 0;
}