mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-27 22:36:38 +02:00
6e219cd834
Such a variable suggests that we will never read past that, but that is not the case, since we (correctly) assume that the buffer is NUL terminated, which is ensured by dbuf_getmsg(). The 'length' is still available for informational purposes, to avoid strlen()'s at various places. Hm, I guess length can cause the same confusion as bufend, but still.. I like it better :D