.events = POLLOUT,
};
- int l = f->bptr - f->buffer;
- f->bptr = f->buffer;
- char *buf = f->buffer;
+ int l = f->bptr - f->bstop;
+ f->bptr = f->bstop;
+ char *buf = f->bstop;
while (l)
{
#include <stdlib.h>
-static void test_err(void *x UNUSED, uns flags, char *msg UNUSED)
+static void test_err(void *x UNUSED, uint flags, char *msg UNUSED)
{
if (flags & FBSOCK_READ)
printf("READ");