Changed HTONS to uip_htons

This commit is contained in:
doganyazar 2010-10-28 14:59:17 +00:00
parent 571519db97
commit f9d5815e19

View File

@ -595,7 +595,7 @@ PROCESS_THREAD(http_server, ev, data)
PRINTF("##RF CHANNEL : %d##\n",RF_CHANNEL);
#endif //CONTIKI_TARGET_SKY
tcp_listen(HTONS(HTTP_PORT));
tcp_listen(uip_htons(HTTP_PORT));
/*
* We loop for ever, accepting new connections.