mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-26 01:55:15 +00:00
27 lines
785 B
Diff
27 lines
785 B
Diff
Index: libtorrent/src/storage.cpp
|
|
===================================================================
|
|
--- libtorrent/src/storage.cpp (revision 3507)
|
|
+++ libtorrent/src/storage.cpp (working copy)
|
|
@@ -2228,7 +2228,7 @@
|
|
&& m_storage->error() != error_code(ENOENT, get_posix_category()))
|
|
#endif
|
|
{
|
|
- m_piece_data.reset();
|
|
+ m_piece_data.clear();
|
|
return -1;
|
|
}
|
|
return 1;
|
|
Index: libtorrent/src/policy.cpp
|
|
===================================================================
|
|
--- libtorrent/src/policy.cpp (revision 3507)
|
|
+++ libtorrent/src/policy.cpp (working copy)
|
|
@@ -659,7 +659,7 @@
|
|
#endif
|
|
i->second.inet_as = ses.lookup_as(as);
|
|
#endif
|
|
- i->source = peer_info::incoming;
|
|
+ i->second.source = peer_info::incoming;
|
|
}
|
|
|
|
c.set_peer_info(&i->second);
|