* It needs to be the dereferenced node
* Convert to int before using
Submitted by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1811641 13f79535-47bb-0310-9956-
ffa450edef68
if node != 0:
while node != 0:
noded = node.dereference()
- kb = kb + (4 << int(node['index']))
+ kb = kb + (4 << int(noded['index']))
node = noded['next']
i = i + 1
self.total_free_blocks[salloc] = kb
done = 0
while done == 0:
noded = node.dereference()
- size = size + (4096 << noded['index'])
+ size = size + (4096 << int(noded['index']))
free = free + (noded['endp'] - noded['first_avail'])
nodes = nodes + 1
node = noded['next']