Explorar o código

My copy of cpp is not DWIM-compliant; I guess, as a workaround, I should define constants before using them.

svn:r343
Nick Mathewson %!s(int64=22) %!d(string=hai) anos
pai
achega
e9254430e2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/or/connection_or.c

+ 2 - 0
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