Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix progress reporting.

  • Loading branch information...
commit e57245d6f887081a9e60cdc814dc2aac25f93284 1 parent 9818227
authored December 20, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  GluttonFetcher.inc
2  GluttonFetcher.inc
@@ -30,7 +30,7 @@ class GluttonFetcher extends FeedsFileFetcher {
30 30
     // As long as there are files, return a result.
31 31
     if (count($state->files)) {
32 32
       $file = array_shift($state->files);
33  
-      $state->progress($state->total, $state->total - count($state->files) + ($state->one_time_total * $state->fetch_counter));
  33
+      $state->progress($state->total, ($state->one_time_total * $state->fetch_counter) - count($state->files));
34 34
       return new FeedsFileFetcherResult($file);
35 35
     }
36 36
 

0 notes on commit e57245d

Please sign in to comment.
Something went wrong with that request. Please try again.