When writing a message out over tcp that's too large to fit in a single
authormartijn <martijn@openbsd.org>
Tue, 20 Dec 2022 19:53:33 +0000 (19:53 +0000)
committermartijn <martijn@openbsd.org>
Tue, 20 Dec 2022 19:53:33 +0000 (19:53 +0000)
commit7c988be6ed697819e9c275b19ed380892163ce74
tree6f60df18e500527b1b6ea3029c94644646a825eb
parenta8920b3aceb008d70920984caef2c3fe5db1513f
When writing a message out over tcp that's too large to fit in a single
write(2), make sure that we don't restart the message on the next write
out, but continue where we left of.

OK sthen@, kn@
usr.sbin/snmpd/snmpe.c