fixed length return

master
sanjiyan 24 years ago
parent 7895eb3b2a
commit 9d8f55fca3

@ -10,5 +10,5 @@ int buffer_feed(buffer* b) {
b->n=w;
b->p=0;
}
return b->n;
return (b->n-b->p);
}

Loading…
Cancel
Save