mirror of https://github.com/kiwix/libkiwix.git
+ remove useless comments
This commit is contained in:
parent
5b5abceda4
commit
9dc430b07c
|
@ -40,10 +40,7 @@ std::map<std::string, std::string> kiwix::getNetworkInterfaces() {
|
||||||
}
|
}
|
||||||
|
|
||||||
int nNumInterfaces = nBytesReturned / sizeof(INTERFACE_INFO);
|
int nNumInterfaces = nBytesReturned / sizeof(INTERFACE_INFO);
|
||||||
std::cout << "There are " << nNumInterfaces << " interfaces:" << std::endl;
|
|
||||||
for (int i = 0; i < nNumInterfaces; ++i) {
|
for (int i = 0; i < nNumInterfaces; ++i) {
|
||||||
std::cout << std::endl;
|
|
||||||
|
|
||||||
sockaddr_in *pAddress;
|
sockaddr_in *pAddress;
|
||||||
pAddress = (sockaddr_in *) & (InterfaceList[i].iiAddress);
|
pAddress = (sockaddr_in *) & (InterfaceList[i].iiAddress);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue