From 16e24195e71654e964bd4840cfd4cd93a6e30834 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch
Date: Sat, 27 Oct 2018 15:08:18 +0200 Subject: Cleanup, add comment --- hex.c | 1 - plugins/zip.lua | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/hex.c b/hex.c index 9ef966e..d29eb65 100644 --- a/hex.c +++ b/hex.c @@ -54,7 +54,6 @@ enum #define LIBERTY_WANT_POLLER #define LIBERTY_WANT_ASYNC -#define LIBERTY_WANT_PROTO_HTTP #include "liberty/liberty.c" #include "liberty/liberty-tui.c" diff --git a/plugins/zip.lua b/plugins/zip.lua index d82759b..0a2dd81 100644 --- a/plugins/zip.lua +++ b/plugins/zip.lua @@ -42,6 +42,7 @@ local decode = function (c) c (c.position, c.position + comment_len - 1):mark ("comment") -- 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 c.position = cd_offset + 1 for i = 1, cd_len do -- cgit v1.2.3-70-g09d2