Consistently use strdup_or_die() instead of strdup()
authorFabian Keil <fk@fabiankeil.de>
Fri, 24 Feb 2017 11:59:44 +0000 (11:59 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 24 Feb 2017 11:59:44 +0000 (11:59 +0000)
commit6631b08ce4162b958461adf55db8de2feba130cf
tree222d8f0de5125191176beaee290ec5c8c6946fd4
parente0c0a38bec6fdc429bc50541d45d507bc0528016
Consistently use strdup_or_die() instead of strdup()

Allocation failures aren't expected here and using strdup_or_die()
allows to remove a couple of explicit error checks which slightly
reduces the size of the binary.
loadcfg.c