Преглед на файлове

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

svn:r343
Nick Mathewson преди 22 години
родител
ревизия
e9254430e2
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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