From a4597cd8d998ac3ade4c54a5b72e275191b215e4 Mon Sep 17 00:00:00 2001 From: Valery Yatsko Date: Wed, 2 Apr 2008 16:08:28 +0400 Subject: [PATCH] fixing ServerStats struct --- include/s_stats.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/s_stats.h b/include/s_stats.h index 2c611a43..0ed1634d 100644 --- a/include/s_stats.h +++ b/include/s_stats.h @@ -47,15 +47,15 @@ struct ServerStatistics unsigned int is_cl; /* number of client connections */ unsigned int is_sv; /* number of server connections */ unsigned int is_ni; /* connection but no idea who it was */ - unsigned short is_cbs; /* bytes sent to clients */ - unsigned short is_cbr; /* bytes received to clients */ - unsigned short is_sbs; /* bytes sent to servers */ - unsigned short is_sbr; /* bytes received to servers */ + unsigned long long int is_cbs; /* bytes sent to clients */ + unsigned long long int is_cbr; /* bytes received to clients */ + unsigned long long int is_sbs; /* bytes sent to servers */ + unsigned long long int is_sbr; /* bytes received to servers */ unsigned long is_cks; /* k-bytes sent to clients */ unsigned long is_ckr; /* k-bytes received to clients */ unsigned long is_sks; /* k-bytes sent to servers */ unsigned long is_skr; /* k-bytes received to servers */ - time_t is_cti; /* time spent connected by clients */ + time_t is_cti; /* time spent connected by clients */ time_t is_sti; /* time spent connected by servers */ unsigned int is_ac; /* connections accepted */ unsigned int is_ref; /* accepts refused */