summaryrefslogtreecommitdiff
path: root/DISTRO_PORTING
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-30 10:46:04 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-31 14:32:32 -0400
commitd73c3269cd3c92bb26f5e161516c587f2874c8c5 (patch)
treeac182dea6d730cb835bfad06d12d41fd3186d684 /DISTRO_PORTING
parent7a2262061252a33f6f0a009e89556fbee5b0cb41 (diff)
nss-myhostname: use _cleanup_ and split function into two
The triply nested loop is just too much. Let's split out the middle loop's body, so the whole thing is easier to read. Also modernize the style a bit, using structure initialization to avoid memset and such.
Diffstat (limited to 'DISTRO_PORTING')
0 files changed, 0 insertions, 0 deletions