Browse Source

Log objects should be local

Otherwise things might be logged under the wrong label.
tags/v1.12.90
Pierre Ossman 2 years ago
parent
commit
b2efde342b
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      unix/vncconfig/vncconfig.cxx
  2. 1
    1
      vncviewer/vncviewer.cxx

+ 1
- 1
unix/vncconfig/vncconfig.cxx View File

@@ -50,7 +50,7 @@

using namespace rfb;

LogWriter vlog("vncconfig");
static LogWriter vlog("vncconfig");

StringParameter displayname("display", "The X display", "");
BoolParameter noWindow("nowin", "Don't display a window", 0);

+ 1
- 1
vncviewer/vncviewer.cxx View File

@@ -81,7 +81,7 @@
#include "win32.h"
#endif

rfb::LogWriter vlog("main");
static rfb::LogWriter vlog("main");

using namespace network;
using namespace rfb;

Loading…
Cancel
Save