Hello,

With wget 1.10.2 compiled using Visual Studio 2005 for Windows XP x64 
I was getting no ETA until late in the transfer, when I'd get things 
like:

49:49:49 then 48:48:48 then 47:47:47 etc.

So I checked the eta value in seconds and it was correct, so the code 
in progress.c line 880:

   eta_hrs = (int)(eta / 3600, eta %= 3600);
   eta_min = (int)(eta / 60, eta %= 60);
   eta_sec = (int)(eta);

was what was causing problems. I fixed this by changing it to the 
following.

      eta_hrs = (int)(eta / 3600);
          eta %= 3600;
      eta_min = (int)(eta / 60);
          eta %= 60;
      eta_sec = (int)(eta);

I had also tried making eta_hrs, eta_min and eta_sec a wgint (which is 
an __int64 on my system) but that didn't help.

cheers,

Reply via email to