From: xchaos Date: Tue, 8 Apr 2008 10:00:07 +0000 (+0000) Subject: do logu se bude zapisovat min i max rychlost ktera platila dany den, kvuli statistikam X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=be00ebdc08b832302bd67d102da78c77b75f8c36;p=svn%2FPrometheus-QoS%2F.git do logu se bude zapisovat min i max rychlost ktera platila dany den, kvuli statistikam git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@74 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/prometheus.c b/prometheus.c index cd7dc2c..9e658fe 100644 --- a/prometheus.c +++ b/prometheus.c @@ -1367,8 +1367,8 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); iplog=fopen(str,"a"); if(iplog) { - fprintf(iplog,"%ld\t%s\t%Lu\t%Lu\t%Lu\t%Lu\t%d\t%s", - time(NULL),ip->name,ip->traffic,ip->direct,ip->proxy,ip->upload,ip->min,d); /* d = date*/ + fprintf(iplog,"%ld\t%s\t%Lu\t%Lu\t%Lu\t%Lu\t%d\t%d\t%s", + time(NULL),ip->name,ip->traffic,ip->direct,ip->proxy,ip->upload,ip->min,ip->min,d); /* d = date*/ fclose(iplog); } }