Fix some unchecked return values.
authorEuler Taveira <euler@timbira.com>
Thu, 30 Apr 2015 15:20:20 +0000 (12:20 -0300)
committerEuler Taveira <euler@timbira.com>
Thu, 30 Apr 2015 15:30:49 +0000 (12:30 -0300)
commit5ceace97eb4b7bfabda26645817ab886850c6651
tree742bd9d0a0420fc3737a3b08a088ff229f47b19c
parent45db5320fb5b354c8c44b9e05d043095eef84ec2
Fix some unchecked return values.

Some event_add() return value were not checked. Either test the output
or ignore it with (void). Adopt the former because it give us a chance
to expose a bug.

While in it, be consistent with the log messages.

Spotted by Coverity.
src/dnslookup.c
src/sbuf.c