diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-10-25 09:26:31 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-11-02 11:29:59 -0600 |
commit | 4f14f2bb6f7402302fd4fcad6754e5ee218f4487 (patch) | |
tree | 33c802a1d3bedd402e2da2144c7b2e524d65b3c4 /src/shared/gcrypt-util.h | |
parent | 98bf5011fe670ea18b7b35d6c8ca3e84d4efbccf (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/shared/gcrypt-util.h')
0 files changed, 0 insertions, 0 deletions