Ignore:
Timestamp:
12/05/08 18:42:55 (11 years ago)
Author:
Eoin
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/halSession.cpp

    r642 r647  
    346346                t.set_hash(i, h.final()); 
    347347 
    348                 if (fn(100*i / num, hal::app().res_wstr(HAL_NEWT_HASHING_PIECES))) 
     348                if (((i*37) % num == 0) && fn(100*i / num, hal::app().res_wstr(HAL_NEWT_HASHING_PIECES))) 
    349349                { 
    350350                        // User canceled torrent creation. 
     
    364364        // create the torrent and print it to out 
    365365        libt::entry e = t.generate(); 
     366         
     367        HAL_DEV_MSG(hal::wform(L"Writing to: %1%") % out_file); 
    366368        halencode(out_file, e); 
    367369 
    368370        } HAL_GENERIC_FN_EXCEPTION_CATCH(L"bit_impl::create_torrent()") 
     371         
     372        HAL_DEV_MSG(L"Torrent creation completed!"); 
    369373 
    370374        return false; 
Note: See TracChangeset for help on using the changeset viewer.