]> rtime.felk.cvut.cz Git - git.git/blobdiff - daemon.c
Merge branch 'jn/gitweb-install'
[git.git] / daemon.c
index 2e6766fd0e93b14244640d1305fe0456157ea0bb..a90ab10505a3694de83a0ffd8fc472518f12cf2b 100644 (file)
--- 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;
                }
        }