Commit b21701c5 authored by Gisle Vanem's avatar Gisle Vanem Committed by Jay Satiro
Browse files

memdebug: fix variable name

Follow-up to 76b63489 which renamed logfile as curl_dbg_logfile.

Ref: https://github.com/curl/curl/commit/76b6348#r33259088
parent f0950acc
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -114,8 +114,8 @@ void curl_dbg_memdebug(const char *logname)
      curl_dbg_logfile = stderr;
      curl_dbg_logfile = stderr;
#ifdef MEMDEBUG_LOG_SYNC
#ifdef MEMDEBUG_LOG_SYNC
    /* Flush the log file after every line so the log isn't lost in a crash */
    /* Flush the log file after every line so the log isn't lost in a crash */
    if(logfile)
    if(curl_dbg_logfile)
      setbuf(logfile, (char *)NULL);
      setbuf(curl_dbg_logfile, (char *)NULL);
#endif
#endif
  }
  }
}
}