projects
/
swift-upb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d362d3
)
fast-fix; todo: add options to seeder/hasher
author
Victor Grishchenko
<victor.grishchenko@gmail.com>
Wed, 20 Jan 2010 17:14:45 +0000
(18:14 +0100)
committer
Victor Grishchenko
<victor.grishchenko@gmail.com>
Wed, 20 Jan 2010 17:14:45 +0000
(18:14 +0100)
exec/leecher.cpp
patch
|
blob
|
history
diff --git
a/exec/leecher.cpp
b/exec/leecher.cpp
index
29438eb
..
ff08ad8
100644
(file)
--- a/
exec/leecher.cpp
+++ b/
exec/leecher.cpp
@@
-52,7
+52,7
@@
int main (int argn, char** args) {
tint start = NOW;
- while (!p2tp::IsComplete(file) && NOW-start<TINT_SEC*60) {
+ while (!p2tp::IsComplete(file)
){//
&& NOW-start<TINT_SEC*60) {
p2tp::Loop(TINT_SEC);
eprintf("done %lli of %lli (seq %lli) %lli dgram %lli bytes up, %lli dgram %lli bytes down\n",
p2tp::Complete(file), p2tp::Size(file), p2tp::SeqComplete(file),