[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Maybe it compiles for devilproxy now
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv22840/src/or
Modified Files:
dirserv.c
Log Message:
Maybe it compiles for devilproxy now
Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.312
retrieving revision 1.313
diff -u -p -d -r1.312 -r1.313
--- dirserv.c 21 Mar 2006 23:10:26 -0000 1.312
+++ dirserv.c 22 Mar 2006 11:23:00 -0000 1.313
@@ -1281,9 +1281,9 @@ dirserv_compute_performance_thresholds(r
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);
}