Commit 576db7a6 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(inet_aton): Fixed typo.

parent 7e99a0f3
......@@ -31,7 +31,7 @@
int
inet_aton(const char *name, struct in_addr *res)
{
res->s_addr = inet_addr(address);
res->s_addr = inet_addr(name);
return (res->s_addr != INADDR_NONE);
}
#endif
......
Markdown is supported
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