From 3d65dcd13e25d57727b31cc87b00efe6d9e3b5e4 Mon Sep 17 00:00:00 2001 From: Josh Elsasser Date: Thu, 16 Aug 2007 18:34:44 +0000 Subject: [PATCH] I'm an idiot. Base 2 is not the same thing as base 16. --- libtransmission/peer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libtransmission/peer.c b/libtransmission/peer.c index 868f362c3..f66947994 100644 --- a/libtransmission/peer.c +++ b/libtransmission/peer.c @@ -150,10 +150,10 @@ static const int SWIFT_REFRESH_INTERVAL_SEC = 5; #define HANDSHAKE_GET_EXTPREF( bits ) ( 0 ) #define HANDSHAKE_SET_EXTPREF( bits, val ) ( (void)0 ) #endif -#define HANDSHAKE_EXTPREF_FORCE_EXT ( 0x00 ) -#define HANDSHAKE_EXTPREF_WANT_EXT ( 0x01 ) -#define HANDSHAKE_EXTPREF_WANT_AZ ( 0x10 ) -#define HANDSHAKE_EXTPREF_FORCE_AZ ( 0x11 ) +#define HANDSHAKE_EXTPREF_FORCE_EXT ( 0x0 ) +#define HANDSHAKE_EXTPREF_WANT_EXT ( 0x1 ) +#define HANDSHAKE_EXTPREF_WANT_AZ ( 0x2 ) +#define HANDSHAKE_EXTPREF_FORCE_AZ ( 0x3 ) #define PEER_MSG_CHOKE 0 #define PEER_MSG_UNCHOKE 1