diff options
author | Přemysl Janouch <p@janouch.name> | 2018-12-03 00:11:00 +0100 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-12-03 00:11:00 +0100 |
commit | 4a2a49312b6c33bd73d338ca2744ab66a5cb7a6e (patch) | |
tree | 1019d114e42915b281fc02edd6dec145439f5b17 | |
parent | 7174b507d3fab2842143a7e58b87e44fe91009b2 (diff) | |
download | sdn-4a2a49312b6c33bd73d338ca2744ab66a5cb7a6e.tar.gz sdn-4a2a49312b6c33bd73d338ca2744ab66a5cb7a6e.tar.xz sdn-4a2a49312b6c33bd73d338ca2744ab66a5cb7a6e.zip |
Fix formatting
-rw-r--r-- | sdn.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -743,11 +743,13 @@ fun operator< (const entry &e1, const entry &e2) -> bool { fun reload () { g.unames.clear(); - while (auto *ent = getpwent ()) g.unames.emplace(ent->pw_uid, ent->pw_name); + while (auto *ent = getpwent ()) + g.unames.emplace (ent->pw_uid, ent->pw_name); endpwent(); g.gnames.clear(); - while (auto *ent = getgrent ()) g.gnames.emplace(ent->gr_gid, ent->gr_name); + while (auto *ent = getgrent ()) + g.gnames.emplace (ent->gr_gid, ent->gr_name); endgrent(); string anchor; |