diff --git a/evhttp.h b/evhttp.h index 7ddf7201..cba8be15 100644 --- a/evhttp.h +++ b/evhttp.h @@ -81,7 +81,7 @@ struct evhttp *evhttp_new(struct event_base *base); * @param http a pointer to an evhttp object * @param address a string containing the IP address to listen(2) on * @param port the port number to listen on - * @return a newly allocated evhttp struct + * @return 0 on success, -1 on failure * @see evhttp_free() */ int evhttp_bind_socket(struct evhttp *http, const char *address, u_short port);