...
This commit is contained in:
@@ -162,13 +162,14 @@ int main(int argc, char* argv[])
|
||||
for (auto& ep : epnt) {
|
||||
adc::AdcEndpoint epn(ep);
|
||||
if (epn.isValid()) {
|
||||
if (epn.isLocalSeqpacket() || epn.isLocalStream()) {
|
||||
if (epn.path()[0] == '@') { // replace '@' to '\0' (use of UNIX abstract namespace)
|
||||
auto it = std::ranges::find(ep, '@');
|
||||
*it = '\0';
|
||||
epn = adc::AdcEndpoint(ep);
|
||||
}
|
||||
}
|
||||
epn.makeAbstract('@');
|
||||
// if (epn.isLocalSeqpacket() || epn.isLocalStream()) {
|
||||
// if (epn.path()[0] == '@') { // replace '@' to '\0' (use of UNIX abstract namespace)
|
||||
// auto it = std::ranges::find(ep, '@');
|
||||
// *it = '\0';
|
||||
// epn = adc::AdcEndpoint(ep);
|
||||
// }
|
||||
// }
|
||||
|
||||
// std::cout << "try to start listenning at '" << ep << "' ...";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user