Author: johnnyg

Revision: 5273

Log:
        Potential patch for libtorrent @ 3507

Diff:
Added: trunk/libtorrent.diff
===================================================================
--- trunk/libtorrent.diff                               (rev 0)
+++ trunk/libtorrent.diff       2009-05-17 12:19:14 UTC (rev 5273)
@@ -0,0 +1,26 @@
+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);



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to