mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
traffic counters are changed to 64-bit
traffic counters are changed to 64-bit using pstdint.h
This commit is contained in:
1 parent
467650bbbf
commit
2890f06488
21 files changed
+569
-44
No files matched your search
@@ -43,7 +43,11 @@ void * pop3pchild(struct clientparam* param) {
|
||||
socksend(param->remsock, param->extusername, (int)strlen((char *)param->extusername), conf.timeouts[STRING_S]) <= 0 ||
|
||||
socksend(param->remsock, (unsigned char *)"\r\n", 2, conf.timeouts[STRING_S])!=2)
|
||||
{RETURN(623);}
|
||||
#ifndef NOPSTDINT
|
||||
param->statscli64 += (uint64_t)(strlen((char *)param->extusername) + 7);
|
||||
#else
|
||||
param->statscli += (int)(strlen((char *)param->extusername) + 7);
|
||||
#endif
|
||||
param->nwrites++;
|
||||
RETURN (sockmap(param, 180));
|
||||
CLEANRET:
|
||||
|
||||
Reference in new issue
Block a user