bug fix
authorxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Thu, 24 May 2012 13:57:40 +0000 (13:57 +0000)
committerxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Thu, 24 May 2012 13:57:40 +0000 (13:57 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@183 251d49ef-1d17-4917-a970-b30cf55b089b

prometheus.c

index d241618..494ce50 100644 (file)
@@ -1861,10 +1861,6 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
      for_each(sharedip,ips) if(eq(ip->name, sharedip->sharing))\r
      {\r
       fprintf(f,"<br />%Lu", sharedip->upload);\r
-      if(!just_preview)\r
-      {\r
-       append_log(sharedip);\r
-      }\r
      }\r
      fputs("</span>\n",f);\r
    }\r
@@ -1896,6 +1892,10 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
    if(!just_preview)\r
    {\r
     append_log(ip);\r
+    for_each(sharedip,ips) if(eq(ip->name, sharedip->sharing))\r
+    {\r
+     append_log(sharedip);\r
+    }\r
    }\r
   }\r
   fprintf(f,"</tbody><thead><tr>\n\\r
This page took 0.152387 seconds and 4 git commands to generate.