File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2754,7 +2754,7 @@ evhttp_connection_set_closecb(struct evhttp_connection *evcon,
27542754
27552755void
27562756evhttp_connection_get_peer (struct evhttp_connection * evcon ,
2757- char * * address , ev_uint16_t * port )
2757+ const char * * address , ev_uint16_t * port )
27582758{
27592759 * address = evcon -> address ;
27602760 * port = evcon -> port ;
Original file line number Diff line number Diff line change @@ -959,7 +959,7 @@ void evhttp_connection_set_closecb(struct evhttp_connection *evcon,
959959/** Get the remote address and port associated with this connection. */
960960EVENT2_EXPORT_SYMBOL
961961void evhttp_connection_get_peer (struct evhttp_connection * evcon ,
962- char * * address , ev_uint16_t * port );
962+ const char * * address , ev_uint16_t * port );
963963
964964/** Get the remote address associated with this connection.
965965 * extracted from getpeername() OR from nameserver.
You can’t perform that action at this time.
0 commit comments