Comment

Comment by dn3500

Your test is backwards. I would write it like this:

  if (size > a->limit - a->cursor) return NULL;
parent dn3500 3 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton