At least at FreeBSD - the gethostname(3) function can fail.
authorMariusz Zaborski <oshogbo@FreeBSD.org>
Tue, 12 May 2015 13:33:42 +0000 (15:33 +0200)
committerMariusz Zaborski <oshogbo@FreeBSD.org>
Tue, 12 May 2015 13:43:38 +0000 (15:43 +0200)
commit401152f357a223655323add1be23178f96fc4366
tree6fb88f67f783d0b76fb9f710037fd3b2d87b6a9c
parent692df124c60ffbfdd51cd576bc3c7cf2735b712a
At least at FreeBSD - the gethostname(3) function can fail.
Check returned value.
winpr/libwinpr/sysinfo/sysinfo.c