summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Siegl <stesie@brokenpipe.de>2004-10-09 09:57:20 +0000
committerStefan Siegl <stesie@brokenpipe.de>2004-10-09 09:57:20 +0000
commitbc1c6bb6e5d17f5b7791beace5485d8d9bcb1b20 (patch)
treec7b752299d5b42953578b6d284698626c8c8f3fe
parenta95638db607824aed73584f98e0596304e121b65 (diff)
care for --port option
-rw-r--r--cvs_ext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cvs_ext.c b/cvs_ext.c
index 268751a0f..e4afbeac0 100644
--- a/cvs_ext.c
+++ b/cvs_ext.c
@@ -63,6 +63,7 @@ cvs_ext_connect(FILE **send, FILE **recv)
}
execlp(config.cvs_shell_client, config.cvs_shell_client,
+ "-p", config.cvs_port ? config.cvs_port : 22,
"-l", config.cvs_username, config.cvs_hostname,
"--", "cvs", "server", NULL);
exit(1);