MINOR: mux-quic: fix trace on stream creation

Replace non-initialized qcs.by_id.key by the id to report the proper
stream ID on stream creation.
This commit is contained in:
Amaury Denoyelle 2021-12-16 15:22:30 +01:00
parent 8678eb0d19
commit fdbf63e86e
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ struct qcs *qcs_new(struct qcc *qcc, uint64_t id, enum qcs_type type)
if (!qcs)
goto out;
fprintf(stderr, "%s: stream ID %llu\n", __func__, qcs->by_id.key);
fprintf(stderr, "%s: stream ID %lu\n", __func__, id);
qcs->qcc = qcc;
qcs->cs = NULL;