aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-06-21 21:46:17 +0000
committerNick Mathewson <nickm@torproject.org>2003-06-21 21:46:17 +0000
commite9254430e29a1650dcdf2a22a48b440efcc20e8b (patch)
tree4105128d98f8624922eb6f2fd1dcd6aed28b74dd
parent04b871486cd4912f909f2959c0a22e1bff8591c8 (diff)
downloadtor-e9254430e29a1650dcdf2a22a48b440efcc20e8b.tar
tor-e9254430e29a1650dcdf2a22a48b440efcc20e8b.tar.gz
My copy of cpp is not DWIM-compliant; I guess, as a workaround, I should define constants before using them.
svn:r343
-rw-r--r--src/or/connection_or.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 56ba821fb..74115e842 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