Bug 19859: Set arg to const

This commit is contained in:
JeremyRand 2019-10-27 03:06:19 +00:00
parent 0c4e3b6b50
commit 23819d3a66
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ circuit_describe_status_for_controller(origin_circuit_t *circ)
/** Allocate and return a description of <b>conn</b>'s current status. */
char *
entry_connection_describe_status_for_controller(entry_connection_t *conn)
entry_connection_describe_status_for_controller(const entry_connection_t *conn)
{
char *rv;
smartlist_t *descparts = smartlist_new();

View File

@ -17,7 +17,7 @@ int write_stream_target_to_buf(entry_connection_t *conn, char *buf,
void orconn_target_get_name(char *buf, size_t len,
or_connection_t *conn);
char *circuit_describe_status_for_controller(origin_circuit_t *circ);
char *entry_connection_describe_status_for_controller(
char *entry_connection_describe_status_for_controller(const
entry_connection_t *conn);
MOCK_DECL(const char *, node_describe_longname_by_id,(const char *id_digest));