Ignore:
Timestamp:
Jan 31, 2013, 9:58:25 PM (8 years ago)
Author:
jordan
Message:

(libT) change the API signature for tr_torrentVerify() s.t. client code can be notified when the verify is finished

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/move-test.c

    r13909 r13913  
    2424****
    2525***/
    26 
    27 #define verify_and_block_until_done(tor) \
    28   do { \
    29     do { tr_wait_msec (10); } while (tor->verifyState != TR_VERIFY_NONE); \
    30     tr_torrentVerify (tor); \
    31     do { tr_wait_msec (10); } while (tor->verifyState != TR_VERIFY_NONE); \
    32   } while (0)
    3326
    3427static void
     
    123116  }
    124117
    125   verify_and_block_until_done (tor);
     118  libttest_blockingTorrentVerify (tor);
    126119  check_int_eq (0, tr_torrentStat(tor)->leftUntilDone);
    127120
Note: See TracChangeset for help on using the changeset viewer.