if(towrite > 0)
if(towrite > 0) {
int buffer_to_fd(buffer_t *buf, int fd){	unsigned int towrite = buffer_used(buf);	if(towrite == 0)		/* Shouldn't be called in this case! */		abort();	towrite = write(fd, buf->data, towrite);	if(towrite > 0)		buffer_takedata(buf, NULL, towrite);	return towrite;}