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

Update new version: 3.15.02

File:
1 edited

Legend:

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

    r130 r3185  
    165165    struct LogContext *ctx = (struct LogContext *)handle;
    166166    struct tm tm;
     167    FILE *fp;
    167168    int mode;
    168169
     
    184185                   conf_get_int(ctx->conf, CONF_port), &tm);
    185186
    186     ctx->lgfp = f_open(ctx->currlogfilename, "r", FALSE);  /* file already present? */
    187     if (ctx->lgfp) {
     187    fp = f_open(ctx->currlogfilename, "r", FALSE);  /* file already present? */
     188    if (fp) {
    188189        int logxfovr = conf_get_int(ctx->conf, CONF_logxfovr);
    189         fclose(ctx->lgfp);
     190        fclose(fp);
    190191        if (logxfovr != LGXF_ASK) {
    191192            mode = ((logxfovr == LGXF_OVR) ? 2 : 1);
Note: See TracChangeset for help on using the changeset viewer.