summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2017-04-04 21:27:31 +0200
committerTobias Stoeckmann <tobias@stoeckmann.org>2017-04-04 21:27:31 +0200
commit7c63694a08a33e56b89338a117e678b6cf5d92bc (patch)
tree59c7b103bb8200dda5fade062de850929714aabc /config.mk
parent5de0a29565f891a8551f1b66fd85eb25091c31eb (diff)
On success, fgets always terminates the result.
If fgets succeeds, then the resulting char array is always terminated by a '\0'. No need to keep extra space, therefore sizeof(buf) is the correct argument. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'config.mk')
0 files changed, 0 insertions, 0 deletions