From 52d7b3a13876a61ba8e37502b262028447f31ad8 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sat, 28 Feb 2004 12:56:51 +0000 Subject: Add libbt, a C implementation of core BitTorrent protocol. PR: ports/63404 Submitted by: Florent Thoumie --- net-p2p/libbt/files/patch-src::bterror.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net-p2p/libbt/files/patch-src::bterror.c (limited to 'net-p2p/libbt/files/patch-src::bterror.c') diff --git a/net-p2p/libbt/files/patch-src::bterror.c b/net-p2p/libbt/files/patch-src::bterror.c new file mode 100644 index 000000000000..bf255821bb74 --- /dev/null +++ b/net-p2p/libbt/files/patch-src::bterror.c @@ -0,0 +1,13 @@ +--- src/bterror.c.old Thu Feb 26 17:39:15 2004 ++++ src/bterror.c Thu Feb 26 17:39:54 2004 +@@ -1,3 +1,9 @@ + /* bterror.c */ +-#define BTERROR_BODY + #include "bterror.h" ++ ++char *bterror_string[] = { ++ "Bad protocol ID on peer connection", ++ "Unrecognized Flags in peer protocol handshake", ++ "Peer hash value doesn't match my hash value", ++ "Peer disconnected after repeated errors" ++}; -- cgit v1.2.3