fixed length return

master
Olaf Dreesen 22 years ago
parent a7e92f192f
commit 2223ffd069
  1. 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