X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=connect.c;h=76e542776abff8d07e7250ecfc8c7ae813302b2d;hb=bd30037e65c53112dd84c2712750e152b2f7f854;hp=0ce941ef444277957efdd8a359a568775e2b17a4;hpb=da4e4a65a27ca912c3f48289acf9ff7a67476c3f;p=git.git diff --git a/connect.c b/connect.c index 0ce941ef4..76e542776 100644 --- a/connect.c +++ b/connect.c @@ -464,7 +464,7 @@ static void git_proxy_connect(int fd[2], char *host) #define MAX_CMD_LEN 1024 -char *get_port(char *host) +static char *get_port(char *host) { char *end; char *p = strchr(host, ':');