소스 검색

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