aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-03-22 11:23:00 +0000
committerPeter Palfrader <peter@palfrader.org>2006-03-22 11:23:00 +0000
commit58307cd8dee29f6e4d8a992abeace5ccd2c0d85c (patch)
tree3b8d52ee59c88d894fe4f8d6319d3d6474b8d258 /src
parent0d7efbe65d930dde7475d1614e3ede4b4046a2cd (diff)
downloadtor-58307cd8dee29f6e4d8a992abeace5ccd2c0d85c.tar
tor-58307cd8dee29f6e4d8a992abeace5ccd2c0d85c.tar.gz
Maybe it compiles for devilproxy now
svn:r6229
Diffstat (limited to 'src')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 800f48345..3073880a6 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -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);
}