Commit 14c4b984 authored by Aurelio Colosimo's avatar Aurelio Colosimo

fix compilation of htonl/htons wrappers: was misspelled

parent e40d6dc0
......@@ -202,16 +202,12 @@ __attribute__((alias("posix_net_shutdown")));
extern UInteger32 posix_htonl(UInteger32 hostlong)
{
/* FIXME: compile (link) fails (arch 64 bit)
* return hotnl(hostlong); */
return 0; /* FIXME */
return htonl(hostlong);
}
extern UInteger16 posix_htons(UInteger16 hostshort)
{
/* FIXME: compile (link) fails (arch 64 bit)
* return hotns(hostlong); */
return 0; /* FIXME */
return htons(hostshort);
}
UInteger32 pp_htonl(UInteger32 hostlong)
......
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