[Lldb-commits] [PATCH] D104856: [lldb] replace gethostbyname call by getaddrinfo

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 24 07:54:14 PDT 2021


jankratochvil added inline comments.


================
Comment at: lldb/tools/debugserver/source/RNBSocket.cpp:44
   } else if (strcmp(hostname, "*") == 0) {
     addr = htonl(INADDR_ANY);
     return true;
----------------
Here it should use `AI_PASSIVE` instead.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104856/new/

https://reviews.llvm.org/D104856



More information about the lldb-commits mailing list