Differences From Artifact [a3cebcd306]:
- File scp.c — part of check-in [18fcbbf5a2] at 2001-05-06 09:35:20 on branch trunk — Run entire source base through GNU indent to tidy up the varying coding styles of the various contributors! Woohoo! (user: simon size: 31920)
To Artifact [5868f73f67]:
- File scp.c — part of check-in [b0b7726ce6] at 2001-05-09 09:01:15 on branch trunk — `realhost', passed back from all the backend init functions, was scoped within those functions. It's now dynamically allocated. (user: simon size: 31941)
| ︙ | |||
513 514 515 516 517 518 519 520 521 522 523 524 525 526 | 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 | + |
err = back->init(cfg.host, cfg.port, &realhost);
if (err != NULL)
bump("ssh_init: %s", err);
ssh_scp_init();
if (verbose && realhost != NULL)
tell_user(stderr, "Connected to %s\n", realhost);
sfree(realhost);
}
/*
* Update statistic information about current file.
*/
static void print_stats(char *name, unsigned long size, unsigned long done,
time_t start, time_t now)
|
| ︙ |