Remix.run Logo
dn3500 2 hours ago

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

  if (size > a->limit - a->cursor) return NULL;
CodesInChaos 2 hours ago | parent [-]

You're right. Fixed.