Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ZerXes
Tor
Commits
5925bc97
Commit
5925bc97
authored
Dec 24, 2007
by
Roger Dingledine
Browse files
tweaks
svn:r12959
parent
24d46ecc
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/or/geoip.c
View file @
5925bc97
...
...
@@ -170,7 +170,7 @@ geoip_get_country_by_ip(uint32_t ipaddr)
return
ent
?
ent
->
country
:
-
1
;
}
/** Return the number of countries recognized by the G
EO
IP database. */
/** Return the number of countries recognized by the G
eo
IP database. */
int
geoip_get_n_countries
(
void
)
{
...
...
src/or/main.c
View file @
5925bc97
...
...
@@ -976,7 +976,6 @@ run_scheduled_events(time_t now)
/** How often do we (as a cache) fetch a new V1 runningrouters document? */
#define V1_RUNNINGROUTERS_FETCH_PERIOD (12*60*60)
time_to_fetch_running_routers
=
now
+
V1_RUNNINGROUTERS_FETCH_PERIOD
;
}
/* Remove old information from rephist and the rend cache. */
...
...
src/or/networkstatus.c
View file @
5925bc97
...
...
@@ -1121,7 +1121,7 @@ int
should_delay_dir_fetches
(
or_options_t
*
options
)
{
if
(
options
->
UseBridges
&&
!
any_bridge_descriptors_known
())
{
log_info
(
LD_DIR
,
"delaying dir fetches"
);
log_info
(
LD_DIR
,
"delaying dir fetches
(no running bridges known)
"
);
return
1
;
}
return
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment