mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 12:28:19 -04:00
Backport doc fix for evhttp_bind_socket.
This commit is contained in:
parent
e0e6958aa0
commit
95b71d0cd6
2
evhttp.h
2
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user