| Modifications to Reliable | ![]() |
|---|---|
| NP-003 May 14, 2001 |
Problem:
During stats generation, the last remailer in Reliable's Config2.DAT
has it's Cpunk stats line entered into the Mix stats output. This
is noticed as a double entry for said remailer in the Version2,
Type2 stats and a Type1 line entered in the Version1, Type2 stats.
When:
This occurs when there are more Cpunk remailers than Mix
remailers in the generated stats.
Where:
Module "Stats.bas"
Function BuildStats
Fix:
Correct the over-count of the array index; rx.
Search for the comment 'Write Files in Stats.bas
| Original |
|---|
RLineUp(rx) = Val(uptime)
rx = rx + 1
End If
DoEvents
Next x
'Write Files
For sver = 0 To 1
For frmt = 0 To 1 '0 = plain; 1 = html
If Val(Cnf(8, 13)) = 0 Or frmt = 1 Then xle = vbCrLf Else xle = vbLf
FileX = 15 + (4 * sver) + (2 * frmt) + rtype
|
Insert the correction for "rx" preceding the comment line.
| Modified |
|---|
RLineUp(rx) = Val(uptime)
rx = rx + 1
End If
DoEvents
Next x
rx = rx - 1
'Write Files
For sver = 0 To 1
For frmt = 0 To 1 '0 = plain; 1 = html
If Val(Cnf(8, 13)) = 0 Or frmt = 1 Then xle = vbCrLf Else xle = vbLf
FileX = 15 + (4 * sver) + (2 * frmt) + rtype
|