Fix undef error on empty list function response

Prior to this commit, if a list function did not return any data or
returned an error, it would return a #lacc{} record from list_cb/2
rather than a valid #mochiweb_response{} record. This would cause chttpd
to crash. This commit fixes this bug by always returning a valid
record.
1 file changed
tree: b31a3ac1d0ddc98eb1b139ab8cfbb18fb784a8c6
  1. .travis.yml
  2. LICENSE
  3. include/
  4. priv/
  5. src/
  6. test/