policy: simplify set_system_hostname()
authorBeniamino Galvani <bgalvani@redhat.com>
Mon, 22 Feb 2016 09:01:30 +0000 (10:01 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Fri, 4 Mar 2016 13:27:09 +0000 (14:27 +0100)
commitf87d25f7a1cce12e9906f2fa74b3c8b2a24b8da2
tree77c43c934b75d66f64f56d398bae38d1edbedb76
parent4090716d96180caaeb807033e0c9a3b4a3092f9b
policy: simplify set_system_hostname()

Move some conditionals to the beginning of the function.
src/nm-policy.c