Cleanup, add comment

This commit is contained in:
Přemysl Eric Janouch 2018-10-27 15:08:18 +02:00
parent 4e76388f4f
commit 16e24195e7
Signed by: p
GPG Key ID: A0420B94F92B9493
2 changed files with 1 additions and 1 deletions

1
hex.c
View File

@ -54,7 +54,6 @@ enum
#define LIBERTY_WANT_POLLER #define LIBERTY_WANT_POLLER
#define LIBERTY_WANT_ASYNC #define LIBERTY_WANT_ASYNC
#define LIBERTY_WANT_PROTO_HTTP
#include "liberty/liberty.c" #include "liberty/liberty.c"
#include "liberty/liberty-tui.c" #include "liberty/liberty-tui.c"

View File

@ -42,6 +42,7 @@ local decode = function (c)
c (c.position, c.position + comment_len - 1):mark ("comment") c (c.position, c.position + comment_len - 1):mark ("comment")
-- TODO: decode the fields better -- TODO: decode the fields better
-- https://stackoverflow.com/a/30028491/76313
-- TODO: also mark actual file data if someone wants to put in the effort -- TODO: also mark actual file data if someone wants to put in the effort
c.position = cd_offset + 1 c.position = cd_offset + 1
for i = 1, cd_len do for i = 1, cd_len do