mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-26 23:59:41 +08:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ef18c48f1 | ||
|
|
c3871caf2a | ||
|
|
f649c7d4de |
No files matched your search
+1
-2
@@ -360,9 +360,8 @@ unsigned char * dologname (unsigned char *buf, unsigned char *name, const unsign
|
|||||||
|
|
||||||
memset(&fakecli, 0, sizeof(fakecli));
|
memset(&fakecli, 0, sizeof(fakecli));
|
||||||
dobuf2(&fakecli, buf, NULL, NULL, ts, (char *)name);
|
dobuf2(&fakecli, buf, NULL, NULL, ts, (char *)name);
|
||||||
return buf;
|
|
||||||
}
|
}
|
||||||
switch(lt){
|
else switch(lt){
|
||||||
case NONE:
|
case NONE:
|
||||||
sprintf((char *)buf, "%s", name);
|
sprintf((char *)buf, "%s", name);
|
||||||
break;
|
break;
|
||||||
|
|||||||
+2
-2
@@ -1,2 +1,2 @@
|
|||||||
#define VERSION "3proxy-0.7.1.1"
|
#define VERSION "3proxy-0.7.1.2"
|
||||||
#define BUILDDATE "140702135419"
|
#define BUILDDATE "150217161415"
|
||||||
+2
-2
@@ -480,9 +480,9 @@ void * adminchild(struct clientparam* param) {
|
|||||||
"<td>MB%s</td>"
|
"<td>MB%s</td>"
|
||||||
"<td>%.3f MB</td>"
|
"<td>%.3f MB</td>"
|
||||||
"<td>%s</td>",
|
"<td>%s</td>",
|
||||||
(1024.0 * (float)cp->traflimgb) + (float)cp->traflim/1048576.0,
|
(4 * 1024.0 * (float)cp->traflimgb) + (float)cp->traflim/(1024.*1024.),
|
||||||
rotations[cp->type],
|
rotations[cp->type],
|
||||||
(1024.0 * (float)cp->trafgb) + (float)cp->traf/1048576.0,
|
(4 * 1024.0 * (float)cp->trafgb) + (float)cp->traf/(1024.*1024.),
|
||||||
cp->cleared?ctime(&cp->cleared):"never"
|
cp->cleared?ctime(&cp->cleared):"never"
|
||||||
);
|
);
|
||||||
inbuf += sprintf(buf + inbuf,
|
inbuf += sprintf(buf + inbuf,
|
||||||
|
|||||||
Reference in new issue
Block a user