Ticket #7444: 7444_psftp.patch

File 7444_psftp.patch, 886 bytes (added by David, 12 years ago)
  • src/putty/psftp.c

     
    30523052     */
    30533053    if (!loaded_session) {
    30543054    /* Try to load settings for `host' into a temporary config */
     3055    /* BEGIN FZ UNUSED
    30553056    Config cfg2;
    30563057    cfg2.host[0] = '\0';
    30573058    do_defaults(host, &cfg2);
    30583059    if (cfg2.host[0] != '\0') {
    3059         fzprintf(sftpVerbose, "psftp: Implicit session load.");
     3060        fzprintf(sftpVerbose, "psftp: Implicit session load."); */
    30603061        /* Settings present and include hostname */
    30613062        /* Re-load data into the real config. */
     3063        /* FZ UNUSED
    30623064        do_defaults(host, &cfg);
    3063     } else {
     3065    } else
     3066    END FZ UNUSED */
     3067    {
    30643068        /* Session doesn't exist or mention a hostname. */
    30653069        /* Use `host' as a bare hostname. */
    30663070        strncpy(cfg.host, host, sizeof(cfg.host) - 1);