]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tftpd: Use `size_t` where appropriate.
authorDag-Erling Smørgrav <des@FreeBSD.org>
Thu, 25 Apr 2024 18:35:15 +0000 (20:35 +0200)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Thu, 25 Apr 2024 18:36:12 +0000 (20:36 +0200)
commit1ed44fcc44b2c04db330663589541608135402f4
tree1341bc92be1f4370a252b0a9cdc1b772596902fd
parent73585176ffd84c13d68cad67c2ca81643f09075c
tftpd: Use `size_t` where appropriate.

* Limit the use of `ssize_t` to only where it's needed.
* Correct one case of `int` being used for a length.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D44954
libexec/tftpd/tests/functional.c
libexec/tftpd/tftp-utils.c
libexec/tftpd/tftp-utils.h
libexec/tftpd/tftpd.c