From 685ebdfb80d748cad8165c2a0df6d01d6c1cfdbb Mon Sep 17 00:00:00 2001 From: leitner Date: Thu, 19 Nov 2015 13:43:57 +0000 Subject: [PATCH] oops, did not actually flush the buffer --- buffer/buffer_putflush.c | 1 + 1 file changed, 1 insertion(+) diff --git a/buffer/buffer_putflush.c b/buffer/buffer_putflush.c index 84dcdaa..616b06d 100644 --- a/buffer/buffer_putflush.c +++ b/buffer/buffer_putflush.c @@ -43,6 +43,7 @@ int buffer_putflush(buffer* b,const char* x,size_t len) { return buffer_stubborn(b->op,b->fd,v[1].iov_base+w,v[1].iov_len-w,b); } } + b->p=0; return 0; } #endif