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/libbt/files/patch-include::bterror.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 net/libbt/files/patch-include::bterror.h (limited to 'net/libbt/files/patch-include::bterror.h') diff --git a/net/libbt/files/patch-include::bterror.h b/net/libbt/files/patch-include::bterror.h new file mode 100644 index 000000000000..1c63711ede3d --- /dev/null +++ b/net/libbt/files/patch-include::bterror.h @@ -0,0 +1,18 @@ +--- include/bterror.h.old Thu Feb 26 17:38:32 2004 ++++ include/bterror.h Thu Feb 26 17:38:53 2004 +@@ -15,15 +15,6 @@ + BTERR_LAST + }; + +-#ifdef BTERROR_BODY +-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" +-}; +-#else + extern char *bterror_string[]; +-#endif + + #endif -- cgit v1.2.3