Author: toad
Date: 2006-06-28 19:10:58 +0000 (Wed, 28 Jun 2006)
New Revision: 9397

Modified:
   trunk/freenet/src/freenet/node/fcp/ClientGet.java
Log:
Maybe fix the three-bars-on-top-of-each-other bug on the queue page.

Modified: trunk/freenet/src/freenet/node/fcp/ClientGet.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/ClientGet.java   2006-06-28 17:46:09 UTC 
(rev 9396)
+++ trunk/freenet/src/freenet/node/fcp/ClientGet.java   2006-06-28 19:10:58 UTC 
(rev 9397)
@@ -497,35 +497,35 @@
                if(progressPending != null) {
                        return progressPending.getTotalBlocks();
                } else
-                       return -1;
+                       return 1;
        }
        
        public double getMinBlocks() {
                if(progressPending != null) {
                        return progressPending.getMinBlocks();
                } else
-                       return -1;
+                       return 1;
        }
        
        public double getFailedBlocks() {
                if(progressPending != null) {
                        return progressPending.getFailedBlocks();
                } else
-                       return -1;
+                       return 0;
        }
        
        public double getFatalyFailedBlocks() {
                if(progressPending != null) {
                        return progressPending.getFatalyFailedBlocks();
                } else
-                       return -1;
+                       return 0;
        }
        
        public double getFetchedBlocks() {
                if(progressPending != null) {
                        return progressPending.getFetchedBlocks();
                } else
-                       return -1;
+                       return 0;
        }
 
        public String getFailureReason() {

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to