* @return a newly allocated evhttp struct
[...]
int evhttp_bind_socket(struct evhttp *http, const char *address, u_short port);
While the correct @return should be:
* @return 0 on success, -1 on failure.
If that's the case, a patch is attached.
Cheers,
M