X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=daemon.c;h=7d9e1c03e88d7785f4ff0d534563ba5778fbc244;hb=15cb500786c3bc618dafa3c6bc9535236e7bfdcd;hp=3769b6f570f20ed320fd5345281a5577c80d0a58;hpb=e4b89317cde316f8e9095eb0399f5f550ffe8230;p=git.git diff --git a/daemon.c b/daemon.c index 3769b6f57..7d9e1c03e 100644 --- a/daemon.c +++ b/daemon.c @@ -420,7 +420,7 @@ static void parse_host_and_port(char *hostport, char **host, *host = hostport; *port = strrchr(hostport, ':'); if (*port) { - *port = '\0'; + **port = '\0'; ++*port; } }