Code

write_sensu: avoid calling strlen() on variable set to NULL