summaryrefslogtreecommitdiff
path: root/src/nss-mymachines
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-10-25 09:26:31 +0200
committerLennart Poettering <lennart@poettering.net>2016-11-02 11:29:59 -0600
commit4f14f2bb6f7402302fd4fcad6754e5ee218f4487 (patch)
tree33c802a1d3bedd402e2da2144c7b2e524d65b3c4 /src/nss-mymachines
parent98bf5011fe670ea18b7b35d6c8ca3e84d4efbccf (diff)
sysctl: no need to check for eof twice
Let's only check for eof once after the fgets(). There's no point in checking EOF before the first read, and twice in each loop.
Diffstat (limited to 'src/nss-mymachines')
0 files changed, 0 insertions, 0 deletions