From: Nick Mathewson Date: Sat, 21 Jun 2003 21:46:17 +0000 (+0000) Subject: My copy of cpp is not DWIM-compliant; I guess, as a workaround, I should define const... X-Git-Tag: tor-0.0.2pre8~125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9254430e29a1650dcdf2a22a48b440efcc20e8b;p=thirdparty%2Ftor.git My copy of cpp is not DWIM-compliant; I guess, as a workaround, I should define constants before using them. svn:r343 --- diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 56ba821fbe..74115e842f 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -215,6 +215,8 @@ int connection_or_handle_listener_read(connection_t *conn) { #define FLAGS_LEN 2 #define BANDWIDTH_LEN 4 #define KEY_LEN 16 +#define ADDR_LEN 4 +#define PORT_LEN 2 #define PKEY_LEN 128 static int