libeech

BitTorrent library
git clone git://z3bra.org/libeech.git
Log | Files | Refs | README | LICENSE

commit 43f71d66c05978eb4778835f80b83ac57dec3504
parent 00a21c7271abed9eb6faa3d028e706f04c5f5128
Author: z3bra <willy at mailoo dot org>
Date:   Tue Jul  3 15:37:52 +0200

Print hexadecimal hash in torrent output

Diffstat:
torrent.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/torrent.c b/torrent.c @@ -74,6 +74,7 @@ main(int argc, char *argv[]) return -1; printf("Peer ID: %s\n", t.id); + printf("Hash: %s\n", tohex(t.ih, hex, 20)); printf("Tracker: %s\n", t.tr); printf("Length: %ld bytes\n", t.sz); printf("Files:\n");