Commit 4d73b137 authored by Alexander Reinholdt's avatar Alexander Reinholdt
Browse files

Improve the comment why we need to work around empty workgroup/domain names...

Improve the comment why we need to work around empty workgroup/domain names when using WS-Discovery.
parent 8219c8d4
Pipeline #41999 canceled with stage
......@@ -1339,8 +1339,9 @@ void Smb4KClientJob::doWsDiscovery()
QString workgroupName = entry.section(":", 1, -1);
//
// Work around an empty workgroup/domain name. Use the "LOCAL"
// domain from DNS-SD for that.
// In Windows 10, version 1803, the homegroup was removed. So, work
// around an empty workgroup/domain name. Use the "LOCAL" domain from
// DNS-SD for that.
//
if (workgroupName.isEmpty())
{
......@@ -1393,8 +1394,9 @@ void Smb4KClientJob::doWsDiscovery()
QString workgroupName = entry.section(":", 1, -1);
//
// Work around an empty workgroup/domain name. Use the "LOCAL"
// domain from DNS-SD for that.
// In Windows 10, version 1803, the homegroup was removed. So, work
// around an empty workgroup/domain name. Use the "LOCAL" domain from
// DNS-SD for that.
//
if (workgroupName.isEmpty())
{
......@@ -1550,8 +1552,9 @@ void Smb4KClientJob::doWsDiscovery()
QString workgroupName = entry.section(":", 1, -1);
//
// Work around an empty workgroup/domain name. Use the "LOCAL"
// domain from DNS-SD for that.
// In Windows 10, version 1803, the homegroup was removed. So, work
// around an empty workgroup/domain name. Use the "LOCAL" domain from
// DNS-SD for that.
//
if (workgroupName.isEmpty())
{
......@@ -1604,8 +1607,9 @@ void Smb4KClientJob::doWsDiscovery()
QString workgroupName = entry.section(":", 1, -1);
//
// Work around an empty workgroup/domain name. Use the "LOCAL"
// domain from DNS-SD for that.
// In Windows 10, version 1803, the homegroup was removed. So, work
// around an empty workgroup/domain name. Use the "LOCAL" domain from
// DNS-SD for that.
//
if (workgroupName.isEmpty())
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment