OSDN Git Service

hostname: Fallback to static hostname if pretty hostname is not set
authorSzymon Janc <szymon@janc.net.pl>
Wed, 6 Feb 2013 21:40:38 +0000 (22:40 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Feb 2013 10:50:41 +0000 (12:50 +0200)
commit6960cb73b272a89073c5007dbb4f2c5a29fce22e
tree4812f753f4409fb1f7fccebb5070e6913e33b62b
parentf0c8fed3060150f436ebd9e59e45b262cde89bae
hostname: Fallback to static hostname if pretty hostname is not set

If pretty hostname is not set fallback to static hostname (if it is
set). If static or pretty hostname is not set appropriate properties
are empty strings not NULLs. This behaviour is recomended by hostnamed.
plugins/hostname.c