mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-05 19:07:06 +03:00

* size_t nmemb (number of elements) first, then size_t size * do not assume char is size 1 but use sizeof() * allocate for char, not pointer to char (found by Michael McConville, fixes #261)