]> git.pld-linux.org Git - packages/libtorrent.git/commitdiff
- fixed auto/ac/libtorrent-0_11_1-1 auto/th/libtorrent-0_11_1-1
authorKarol Krenski <charles@pld-linux.org>
Sun, 7 Jan 2007 06:47:32 +0000 (06:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libtorrent-client_list.patch -> 1.2

libtorrent-client_list.patch

index 979d5aedb602e9d7b15de5da4333a70782e2ed83..9136f67594aaa99ae1f77bd67e9da8b100584fff 100644 (file)
@@ -1,5 +1,5 @@
---- libtorrent-0.11.0/src/torrent/peer/client_list.cc.orig     2006-11-18 18:20:26.000000000 +0100
-+++ libtorrent-0.11.0/src/torrent/peer/client_list.cc  2006-12-14 09:58:18.868810219 +0100
+--- libtorrent-0.11.1/src/torrent/peer/client_list.cc.orig     2006-11-18 18:20:26.000000000 +0100
++++ libtorrent-0.11.1/src/torrent/peer/client_list.cc  2007-01-07 06:48:11.778801263 +0100
 @@ -80,7 +80,7 @@
  
    insert_helper(ClientInfo::TYPE_COMPACT, "A", NULL, NULL, "ABC");
      dest->mutable_key()[0] = id[1];
      dest->mutable_key()[1] = id[2];
      
-@@ -159,9 +166,16 @@
+@@ -153,15 +160,22 @@
+       dest->mutable_version()[i] = dest->mutable_upper_version()[i] = rak::hexchar_to_value(id[3 + i]);
+   } else if (std::isalpha(id[0]) && id[4] == '-' &&
+-             std::isxdigit(id[1]) && std::isxdigit(id[2]) && std::isxdigit(id[3])) {
++             std::isxdigit(id[1]) && std::isxdigit(id[2]) && std::isalnum(id[3])) {
+     dest->set_type(ClientInfo::TYPE_COMPACT);
      dest->mutable_key()[0] = id[0];
      dest->mutable_key()[1] = '\0';
      
This page took 0.072612 seconds and 4 git commands to generate.