do logu je zapisovana i desired rychlost (tedy je tam min,max,desired)
authorludvik <ludvik@251d49ef-1d17-4917-a970-b30cf55b089b>
Tue, 15 Apr 2008 18:38:57 +0000 (18:38 +0000)
committerludvik <ludvik@251d49ef-1d17-4917-a970-b30cf55b089b>
Tue, 15 Apr 2008 18:38:57 +0000 (18:38 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@77 251d49ef-1d17-4917-a970-b30cf55b089b

prometheus.c

index 28d9894da561e8e115575bfd776de66902212fa5..984778758a1c951010b26c976f64f74c7cf3756f 100644 (file)
@@ -1373,8 +1373,8 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
     iplog=fopen(str,"a");\r
     if(iplog)\r
     {\r
     iplog=fopen(str,"a");\r
     if(iplog)\r
     {\r
-     fprintf(iplog,"%ld\t%s\t%Lu\t%Lu\t%Lu\t%Lu\t%d\t%d\t%s",\r
-                    time(NULL),ip->name,ip->traffic,ip->direct,ip->proxy,ip->upload,ip->min,ip->max,d); /* d = date*/\r
+     fprintf(iplog,"%ld\t%s\t%Lu\t%Lu\t%Lu\t%Lu\t%d\t%d\t%d\t%s",\r
+                    time(NULL),ip->name,ip->traffic,ip->direct,ip->proxy,ip->upload,ip->min,ip->max,ip->desired,d); /* d = date*/\r
      fclose(iplog);\r
     }\r
    }\r
      fclose(iplog);\r
     }\r
    }\r
This page took 0.247999 seconds and 4 git commands to generate.