Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #4955

Closed (moved)
(moved)
Open
Created Jan 24, 2012 by Anthony Basile@blueness

tor-0.2.3.11_alpha: fails to compile when configured --enable-nat-pmp

Version tor-0.2.3.11 introduced a change in src/tools/tor-fw-helper/tor-fw-helper-natpmp.c. A quick diff with 0.2.3.10 shows:

--- a/tor-fw-helper-natpmp.c 2011-12-15 11:27:07.000000000 -0500 +++ b/tor-fw-helper-natpmp.c 2012-01-21 22:07:30.000000000 -0500 @@ -87,7 +87,7 @@

/** Use select() to wait until we can read on fd. */ static int -wait_until_fd_readable(unsigned int fd, struct timeval *timeout) +wait_until_fd_readable(tor_socket_t fd, struct timeval *timeout) { int r; fd_set fds;

Its pretty obvious that fd should be defined as an unsigned int. Reverting and everything compiles fine.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking