diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-09 16:09:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-09 16:09:06 +0100 |
| commit | ac196c2ea01d08f1ca93feb871cb95e2e921070a (patch) | |
| tree | 48b6cd09fd34a5105e04668c2393ea879f63fc91 | |
| parent | e5eec6c5e7b96cc6e7697bbf42d3f27546c5ad52 (diff) | |
Fix erroneous thread affinity log message.
| -rw-r--r-- | src/lib/encoder.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc index 34cae7d76..fdccaddd9 100644 --- a/src/lib/encoder.cc +++ b/src/lib/encoder.cc @@ -386,7 +386,9 @@ Encoder::servers_list_changed () info.dwOSVersionInfoSize = sizeof (OSVERSIONINFO); GetVersionEx (&info); bool const windows_xp = (info.dwMajorVersion == 5 && info.dwMinorVersion == 1); - LOG_GENERAL_NC (N_("Setting thread affinity for Windows XP")); + if (windows_xp) { + LOG_GENERAL_NC (N_("Setting thread affinity for Windows XP")); + } #endif if (!Config::instance()->only_servers_encode ()) { |
