I think there's a small error in the description of evhttp_bind_socket, evhttp.h (using 1.4.10-stable):
[...] * @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
evhttp_api_doc_error.patch
Description: Binary data