Simply backend API.

This commit is contained in:
Ian Gulliver
2016-02-17 12:30:26 -08:00
parent ca0e1db556
commit 020174d11a
3 changed files with 3 additions and 6 deletions

View File

@@ -56,9 +56,7 @@ static bool parse_opts(int argc, char *argv[], int epoll_fd) {
*delim = '\0';
delim++;
// TODO: Fix orphan malloc.
struct backend *backend = backend_new(optarg, delim, epoll_fd);
assert(backend);
backend_new(optarg, delim, epoll_fd);
break;
case 'd':