mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-03 18:59:55 -05:00

Pacman's fgets function in the API used hardcoded numbers to identify the size. This is not good practice, so replace them with sizeof handling. Signed-off-by: Laszlo Papp <djszapi@archlinux.us> Signed-off-by: Dan McGee <dan@archlinux.org>