mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
legacy counters code removed
This commit is contained in:
1 parent
5543b3052d
commit
f4c6c9d962
16 files changed
+3
-483
No files matched your search
@@ -475,7 +475,6 @@ void * adminchild(struct clientparam* param) {
|
||||
);
|
||||
}
|
||||
else {
|
||||
#ifndef NOPSTDINT
|
||||
inbuf += sprintf(buf+inbuf,
|
||||
"</td><td>%"PRINTF_INT64_MODIFIER"u</td>"
|
||||
"<td>MB%s</td>"
|
||||
@@ -486,18 +485,6 @@ void * adminchild(struct clientparam* param) {
|
||||
cp->traf64,
|
||||
cp->cleared?ctime(&cp->cleared):"never"
|
||||
);
|
||||
#else
|
||||
inbuf += sprintf(buf+inbuf,
|
||||
"</td><td>%.3f</td>"
|
||||
"<td>MB%s</td>"
|
||||
"<td>%.3f MB</td>"
|
||||
"<td>%s</td>",
|
||||
(1024.0 * (float)cp->traflimgb) + (float)cp->traflim/1048576.0,
|
||||
rotations[cp->type],
|
||||
(1024.0 * (float)cp->trafgb) + (float)cp->traf/1048576.0,
|
||||
cp->cleared?ctime(&cp->cleared):"never"
|
||||
);
|
||||
#endif
|
||||
inbuf += sprintf(buf + inbuf,
|
||||
"<td>%s</td>"
|
||||
"<td>%i</td>"
|
||||
|
||||
Reference in new issue
Block a user