From f9d5815e19b4ad4701e246e675cadc36aed489be Mon Sep 17 00:00:00 2001 From: doganyazar Date: Thu, 28 Oct 2010 14:59:17 +0000 Subject: [PATCH] Changed HTONS to uip_htons --- apps/rest-http/http-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/rest-http/http-server.c b/apps/rest-http/http-server.c index ef0ede80c..9b9f88361 100755 --- a/apps/rest-http/http-server.c +++ b/apps/rest-http/http-server.c @@ -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.