mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Maybe it compiles for devilproxy now
svn:r6229
This commit is contained in:
parent
0d7efbe65d
commit
58307cd8de
1 changed files with 1 additions and 1 deletions
|
@ -1281,9 +1281,9 @@ dirserv_compute_performance_thresholds(routerlist_t *rl)
|
|||
SMARTLIST_FOREACH(rl->routers, routerinfo_t *, ri, {
|
||||
if (ri->is_running && ri->is_valid) {
|
||||
uint32_t *up = tor_malloc(sizeof(uint32_t));
|
||||
uint32_t *bw = tor_malloc(sizeof(uint32_t));
|
||||
*up = (uint32_t) ri->uptime;
|
||||
smartlist_add(uptimes, up);
|
||||
uint32_t *bw = tor_malloc(sizeof(uint32_t));
|
||||
*bw = (uint32_t) ri->bandwidthcapacity;
|
||||
smartlist_add(bandwidths, bw);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue