Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Jul 4, 2022
1 parent 61d82b8 commit 58f82cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ static void http_req_handler(struct http_conn *conn,
if (sess) {
enum {HASH_SIZE = 4, MAX_DEPTH = 2};

/* XXX: move json decode further up */
err = json_decode_odict(&od, HASH_SIZE,
(char *)mbuf_buf(msg->mb),
mbuf_get_left(msg->mb),
Expand Down

0 comments on commit 58f82cb

Please sign in to comment.