Переглянути джерело

Correct the signature for is_listening_on_low_port for "auto" ports

Nick Mathewson 14 роки тому
батько
коміт
6f5998fd73
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/or/config.c

+ 1 - 1
src/or/config.c

@@ -2623,7 +2623,7 @@ options_init(or_options_t *options)
  * it is, or 0 if it isn't or the concept of a low port isn't applicable for
  * the platform we're on. */
 static int
-is_listening_on_low_port(uint16_t port_option,
+is_listening_on_low_port(int port_option,
                          const config_line_t *listen_options)
 {
 #ifdef MS_WINDOWS