]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
daemon: move buffer into daemon_state
authorIhor Antonov <ihor@antonovs.family>
Wed, 27 Dec 2023 06:07:25 +0000 (00:07 -0600)
committerKyle Evans <kevans@FreeBSD.org>
Wed, 27 Dec 2023 06:07:25 +0000 (00:07 -0600)
commit24fd3e969ebe2ed44bc04f5ccc4db21cf02184d5
treeeebeb0ed42596da48353982c578dd41d3dc47e87
parent6ac7c9f06ae9b7ef070c1f8a57dcc52be4dd45b7
daemon: move buffer into daemon_state

There is no reason for a buffer in listen_child()
to be a static function variable. The buffer and
its position are parts of the daemon state and should
live together with the rest of the state variables.

Reviewed by: cperciva, kevans
usr.sbin/daemon/daemon.c