chiark
/
gitweb
/
~ian
/
innduct.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5871f83
)
Recalculate inqueue/spare for _use_ properly
author
Ian Jackson
<ian@liberator.relativity.greenend.org.uk>
Fri, 28 May 2010 21:46:21 +0000
(22:46 +0100)
committer
Ian Jackson
<ian@liberator.relativity.greenend.org.uk>
Fri, 28 May 2010 21:46:21 +0000
(22:46 +0100)
xmit.c
patch
|
blob
|
history
diff --git
a/xmit.c
b/xmit.c
index 8adb082271a572c1842581e1d703326e8d0dd2f1..269e823a91002abd0bb8a6ca7a90eca481cf2e29 100644
(file)
--- a/
xmit.c
+++ b/
xmit.c
@@
-81,7
+81,7
@@
void check_assign_articles(void) {
}
if (use) {
int inqueue, spare;
- conn_inqueue_spare(
walk
, &inqueue, &spare);
+ conn_inqueue_spare(
use
, &inqueue, &spare);
if (!inqueue) use->since_activity= 0; /* reset idle counter */
while (spare>0) {
Article *art= dequeue(0);