Use BtFileMode for TorrentAttribute::mode

This commit is contained in:
Tatsuhiro Tsujikawa 2013-05-15 00:09:51 +09:00
parent 5dcc2b7842
commit 4f5d26a0c7
9 changed files with 36 additions and 14 deletions

View file

@ -915,7 +915,7 @@ void RpcMethodTest::testGatherBitTorrentMetadata()
SharedHandle<TorrentAttribute> modBtAttrs = bittorrent::getTorrentAttrs(dctx);
modBtAttrs->comment.clear();
modBtAttrs->creationDate = 0;
modBtAttrs->mode.clear();
modBtAttrs->mode = BT_FILE_MODE_NONE;
modBtAttrs->metadata.clear();
btDict = Dict::g();
gatherBitTorrentMetadata(btDict, modBtAttrs);