mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:33:31 +03:00
connect: turn conn_get_first_origin into static
This function is only used within this source file. Closes #21948
This commit is contained in:
parent
97aed9c960
commit
a6971ce90a
2 changed files with 15 additions and 18 deletions
|
|
@ -136,11 +136,6 @@ struct Curl_peer *Curl_conn_get_origin(struct connectdata *conn,
|
|||
struct Curl_peer *Curl_conn_get_destination(struct connectdata *conn,
|
||||
int sockindex);
|
||||
|
||||
/* Get the origin curl connects its socket to.
|
||||
* Can be origin or the first proxy. */
|
||||
struct Curl_peer *Curl_conn_get_first_origin(struct connectdata *conn,
|
||||
int sockindex);
|
||||
|
||||
/* Get the peer curl connects its socket to.
|
||||
* Can be origin, "connect-to" or the first proxy. */
|
||||
struct Curl_peer *Curl_conn_get_first_peer(struct connectdata *conn,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue