95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
static int fPrintSshCmd = 1; /* Print SSH command only once */
const char *zSshFossilCmd; /* Path to fossil on remote host */
const char *zSsh; /* The base SSH command */
Blob zCmd; /* The SSH command */
char *zHost; /* The host name to contact */
int n; /* Size of prefix string */
zSsh = db_get("ssh-command", zDefaultSshCmd);
zSshFossilCmd = db_get("ssh-fossil", "fossil");
blob_init(&zCmd, zSsh, -1);
if( g.urlPort!=g.urlDfltPort && g.urlPort ){
#ifdef __MINGW32__
blob_appendf(&zCmd, " -P %d", g.urlPort);
#else
|
>
|
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
static int fPrintSshCmd = 1; /* Print SSH command only once */
const char *zSshFossilCmd; /* Path to fossil on remote host */
const char *zSsh; /* The base SSH command */
Blob zCmd; /* The SSH command */
char *zHost; /* The host name to contact */
int n; /* Size of prefix string */
socket_ssh_resolve_addr();
zSsh = db_get("ssh-command", zDefaultSshCmd);
zSshFossilCmd = db_get("ssh-fossil", "fossil");
blob_init(&zCmd, zSsh, -1);
if( g.urlPort!=g.urlDfltPort && g.urlPort ){
#ifdef __MINGW32__
blob_appendf(&zCmd, " -P %d", g.urlPort);
#else
|