From a1c6a87ebe032a39a2d3ae7adf54247625f847cf Mon Sep 17 00:00:00 2001 From: Henri Manson Date: Wed, 18 Oct 2017 12:53:01 +0200 Subject: [PATCH] Corrected case of variables in Debug build --- SimpleDLNA/FormMain.cs | 2 +- server/Http/HttpClient.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SimpleDLNA/FormMain.cs b/SimpleDLNA/FormMain.cs index 5c9043e2..f2a23206 100644 --- a/SimpleDLNA/FormMain.cs +++ b/SimpleDLNA/FormMain.cs @@ -37,7 +37,7 @@ public partial class FormMain : Form, IAppender #if DEBUG private readonly FileInfo logFile = - new FileInfo(Path.Combine(cacheDir, "sdlna.dbg.log")); + new FileInfo(Path.Combine(CacheDir, "sdlna.dbg.log")); #else private readonly FileInfo logFile = new FileInfo(Path.Combine(CacheDir, "sdlna.log")); diff --git a/server/Http/HttpClient.cs b/server/Http/HttpClient.cs index cf1628bc..4107c0d4 100644 --- a/server/Http/HttpClient.cs +++ b/server/Http/HttpClient.cs @@ -384,7 +384,7 @@ private void SetupResponse() } catch (HttpStatusException ex) { #if DEBUG - Warn(String.Format("{0} - Got a {2}: {1}", this, path, ex.Code), ex); + Warn(String.Format("{0} - Got a {2}: {1}", this, Path, ex.Code), ex); #else InfoFormat("{0} - Got a {2}: {1}", this, Path, ex.Code); #endif