Skip to content
Snippets Groups Projects
Commit 81d1f60e authored by John Hodge's avatar John Hodge
Browse files

Usermode/libpsocket - (minor) Commenting for DNS

parent 902813fd
Branches
Tags
No related merge requests found
...@@ -86,6 +86,8 @@ int getaddrinfo(const char *node, const char *service, const struct addrinfo *hi ...@@ -86,6 +86,8 @@ int getaddrinfo(const char *node, const char *service, const struct addrinfo *hi
// TODO: DNS Lookups // TODO: DNS Lookups
// ? /Acess/Conf/Nameservers // ? /Acess/Conf/Nameservers
// ? /Acess/Conf/Hosts // ? /Acess/Conf/Hosts
//count = Net_LookupDNS(node, service, NULL);
//
} }
// 3. No Match, chuck sad // 3. No Match, chuck sad
...@@ -142,8 +144,7 @@ int getaddrinfo(const char *node, const char *service, const struct addrinfo *hi ...@@ -142,8 +144,7 @@ int getaddrinfo(const char *node, const char *service, const struct addrinfo *hi
} }
} }
struct addrinfo *ai; for( struct addrinfo *ai = ret; ai; ai = ai->ai_next)
for( ai = ret; ai; ai = ai->ai_next)
{ {
struct sockaddr_in *in = (void*)ai->ai_addr; struct sockaddr_in *in = (void*)ai->ai_addr;
struct sockaddr_in6 *in6 = (void*)ai->ai_addr; struct sockaddr_in6 *in6 = (void*)ai->ai_addr;
......
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