HomeFreeBSD

Undo the bogus gethostname() change from r299709.

Description

Undo the bogus gethostname() change from r299709.

The "- 1" is there specifically to enable checking for NUL termination.

I should also admit the rest change was mostly cosmetic and the
overruns can't occur in practice: still I leave them to pacify
static analyzers.

Pointed out by: bde

Details

Provenance
pfgAuthored on
Parents
rS299712: Fix some trivial clang/gcc warnings in bsnmptc.c
Branches
Unknown
Tags
Unknown