hostname1 now returns hostname minus domain info
authorkremlin <ian@kremlin.cc>
Tue, 22 Jul 2014 01:37:41 +0000 (20:37 -0500)
committerkremlin <ian@kremlin.cc>
Tue, 22 Jul 2014 01:37:41 +0000 (20:37 -0500)
commit8f3d38b103f8c972de7ab065ba1d2ee1621702dd
treeb6dd641cc992f141541731958b1f92d5252be21b
parenta3041e78faacff1687bafd29d9c79ec635924c4b
hostname1 now returns hostname minus domain info

also initializes pointer array properly, no more GLib warnings
src/interfaces/hostnamed/hostnamed.c