summaryrefslogtreecommitdiff
path: root/src/timers.c
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@daemonic.se>2016-08-31 20:03:36 +0200
committerNiclas Zeising <zeising@daemonic.se>2016-08-31 20:03:36 +0200
commit5ab630b59fe449c451d3a6f024d3c997af020a22 (patch)
tree8b373d597e34d667c8a28e986a714f1d9f48eebb /src/timers.c
parent873c84f0722b4edf98e46d6c966c0d3618bfb2ac (diff)
Only use sysconf() if HOST_NAME_MAX is undefined
On some systsems sysconf() can return a very large value, unsuitable for use with malloc(). Only use sysconf() if HOST_NAME_MAX isn't avalable.
Diffstat (limited to 'src/timers.c')
0 files changed, 0 insertions, 0 deletions