blob: 10eacf02afc70ce4336641780272c06a12feff5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- python-libtorrent.cpp 2006-11-28 15:21:59.000000000 +0100
+++ python-libtorrent/python-libtorrent.cpp 2007-01-11 19:28:22.000000000 +0100
@@ -139,19 +139,19 @@
void print_uniqueIDs()
{
-//#ifdef AMD64
-// for (unsigned long i = 0; i < uniqueIDs->size(); i++)
-// printf("--uniqueIDs[%ld] = %ld\r\n", i, (*uniqueIDs)[i]);
-//#endif
+#ifdef AMD64
+ for (unsigned long i = 0; i < uniqueIDs->size(); i++)
+ printf("--uniqueIDs[%ld] = %ld\r\n", i, (*uniqueIDs)[i]);
+#endif
}
long get_index_from_unique(long uniqueID)
{
assert(handles->size() == uniqueIDs->size());
-//#ifdef AMD64
-// printf("Request for uniqueID: %ld\r\n", uniqueID);
-//#endif
+#ifdef AMD64
+ printf("Request for uniqueID: %ld\r\n", uniqueID);
+#endif
print_uniqueIDs();
for (unsigned long i = 0; i < uniqueIDs->size(); i++)
|