Browse Source

fixed length return

master
Olaf Dreesen 21 years ago
parent
commit
2223ffd069
  1. 2
      buffer/buffer_feed.c

2
buffer/buffer_feed.c

@ -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