This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
btpd
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Missed to update peer->nreqs_out at a couple of places.
master
Richard Nyberg
19 years ago
parent
78fddd57db
commit
5169d5a862
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
btpd/peer.c
+1
-0
btpd/policy_subr.c
+ 1
- 0
btpd/peer.c
View File
@@ -92,6 +92,7 @@ again:
net_send_cancel(p, req);
BTPDQ_REMOVE(&p->my_reqs, req, entry);
free(req);
p->nreqs_out--;
goto again;
}
}
+ 1
- 0
btpd/policy_subr.c
View File
@@ -443,6 +443,7 @@ cm_unassign_requests(struct peer *p)
}
assert(BTPDQ_EMPTY(&p->my_reqs));
p->nreqs_out = 0;
}
Write
Preview
Loading…
Cancel
Save