swapped params in call to rep_hist_note_used_port
version: tor-0.2.0.23-rc
[tor/src/or/directory.c:directory_initiate_command:~722]
/* If it's an anonymized connection, remember the fact that we
* wanted it for later: maybe we'll want it again soon. */
if (anonymized_connection && use_begindir)
rep_hist_note_used_internal(time(NULL), 0, 1);
else if (anonymized_connection && !use_begindir)
[ The parameters in the following call are swapped compared to the function declaration and definintion. ]
rep_hist_note_used_port(time(NULL), conn->_base.port);
[tor/src/or.h:~3581] void rep_hist_note_used_port(uint16_t port, time_t now);
[tor/src/or/rephist.c:~1426]
void rep_hist_note_used_port(uint16_t port, time_t now)
[Automatically added by flyspray2trac: Operating System: All]
Trac:
Username: aakova