free does nothing if parameter equals NULL
snprintf already calculated the length
snprintf does return a signed integer

assert if returned value is neagtive
ws
clarify return value
Merge pull request #30 from mloy/redundant-strlen
fix README; ws