]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
My copy of cpp is not DWIM-compliant; I guess, as a workaround, I should define const...
authorNick Mathewson <nickm@torproject.org>
Sat, 21 Jun 2003 21:46:17 +0000 (21:46 +0000)
committerNick Mathewson <nickm@torproject.org>
Sat, 21 Jun 2003 21:46:17 +0000 (21:46 +0000)
svn:r343

src/or/connection_or.c

index 56ba821fbe50f1b1865b38ff6bd3b0d2e91d862b..74115e842f97ffe2c864032f35304ae769ddfa7b 100644 (file)
@@ -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