diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-03-11 22:08:37 +0000 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2009-03-11 22:08:37 +0000 |
commit | 309080b6aa8a5dbb41a2a6327ac73493f7076cc1 (patch) | |
tree | 3d8b30ef412dc3f244c086d22db2e114c1987b0a /src | |
parent | 4e094ddc4d4a584c68467c7b4712cf6d9e40c875 (diff) | |
download | tor-309080b6aa8a5dbb41a2a6327ac73493f7076cc1.tar tor-309080b6aa8a5dbb41a2a6327ac73493f7076cc1.tar.gz |
Make directory usage recording work again. Fixing bug introduced in r17009.
svn:r18924
Diffstat (limited to 'src')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index efccb1ef4..e4a51b4b5 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2581,7 +2581,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, geoip_client_action_t act = is_v3 ? GEOIP_CLIENT_NETWORKSTATUS : GEOIP_CLIENT_NETWORKSTATUS_V2; struct in_addr in; - if (!tor_inet_aton((TO_CONN(conn))->address, &in)) + if (tor_inet_aton((TO_CONN(conn))->address, &in)) geoip_note_client_seen(act, ntohl(in.s_addr), time(NULL)); } #endif |