diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-30 10:46:04 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-31 14:32:32 -0400 |
commit | d73c3269cd3c92bb26f5e161516c587f2874c8c5 (patch) | |
tree | ac182dea6d730cb835bfad06d12d41fd3186d684 /shell-completion | |
parent | 7a2262061252a33f6f0a009e89556fbee5b0cb41 (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 'shell-completion')
0 files changed, 0 insertions, 0 deletions