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. include/
  2. priv/
  3. src/
  4. test/
  5. .travis.yml
  6. LICENSE