Ignore:
Timestamp:
Jan 9, 2017, 11:09:38 AM (2 years ago)
Author:
jrpelegrina
Message:

Update new version: 3.15.02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • filezilla/trunk/fuentes/src/putty/cmdline.c

    r130 r3185  
    576576    }
    577577
    578     if (!strcmp(p, "-sessionlog") ||
    579         !strcmp(p, "-sshlog") ||
     578    if (!strcmp(p, "-sessionlog")) {
     579        Filename *fn;
     580        RETURN(2);
     581        UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER);
     582        /* but available even in TOOLTYPE_NONNETWORK, cf pterm "-log" */
     583        SAVEABLE(0);
     584        fn = filename_from_str(value);
     585        conf_set_filename(conf, CONF_logfilename, fn);
     586        conf_set_int(conf, CONF_logtype, LGTYP_DEBUG);
     587        filename_free(fn);
     588    }
     589
     590    if (!strcmp(p, "-sshlog") ||
    580591        !strcmp(p, "-sshrawlog")) {
    581592        Filename *fn;
     
    586597        conf_set_filename(conf, CONF_logfilename, fn);
    587598        conf_set_int(conf, CONF_logtype,
    588                      !strcmp(p, "-sessionlog") ? LGTYP_DEBUG :
    589599                     !strcmp(p, "-sshlog") ? LGTYP_PACKETS :
    590600                     /* !strcmp(p, "-sshrawlog") ? */ LGTYP_SSHRAW);
Note: See TracChangeset for help on using the changeset viewer.